Package org.h2.dev.util
Class FileViewer
- java.lang.Object
-
- org.h2.util.Tool
-
- org.h2.dev.util.FileViewer
-
public class FileViewer extends Tool
A text file viewer that support very large files.
-
-
Constructor Summary
Constructors Constructor Description FileViewer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String... args)Run the viewer.voidrunTool(java.lang.String... args)Run the tool with the given output stream and arguments.protected voidshowUsage()Print the usage of the tool.-
Methods inherited from class org.h2.util.Tool
getMainClassName, isOption, printNoDatabaseFilesFound, setOut, showUsageAndThrowUnsupportedOption, throwUnsupportedOption
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String... args) throws java.sql.SQLExceptionRun the viewer.- Parameters:
args- the command line arguments- Throws:
java.sql.SQLException
-
showUsage
protected void showUsage()
Description copied from class:ToolPrint the usage of the tool. This method reads the description from the resource file.
-
-