In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "You can find the logging configuration file at $JAVA_HOME/jre/lib/logging.properties
."
A block of code is set as follows:
package com.packt.store.log; @Inherited @InterceptorBinding @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.TYPE}) public @interface Log { @Nonbinding LogLevel value() default LogLevel.FINEST; }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
package com.packt.store.log;
@Inherited
@InterceptorBinding
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface Log {
@Nonbinding
LogLevel value() default LogLevel.FINEST;
}
Any command-line input or output is written as follows:
/oracle/jdk1.7.0_21/bin/java/java -jar wls_121200.jar
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "By clicking on the Print button the selected reservation will be printed."