Package org.h2.dev.util
Class FileViewer
java.lang.Object
org.h2.util.Tool
org.h2.dev.util.FileViewer
A text file viewer that support very large files.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.h2.util.Tool
getMainClassName, isOption, printNoDatabaseFilesFound, setOut, showUsageAndThrowUnsupportedOption, throwUnsupportedOption
-
Constructor Details
-
FileViewer
public FileViewer()
-
-
Method Details
-
main
Run the viewer.- Parameters:
args- the command line arguments- Throws:
SQLException
-
showUsage
protected void showUsage()Description copied from class:ToolPrint the usage of the tool. This method reads the description from the resource file. -
runTool
Description copied from class:ToolRun the tool with the given output stream and arguments.- Specified by:
runToolin classTool- Parameters:
args- the argument list- Throws:
SQLException- on failure
-