Class FileViewer


  • public class FileViewer
    extends Tool
    A text file viewer that support very large files.
    • Constructor Detail

      • FileViewer

        public FileViewer()
    • Method Detail

      • main

        public static void main​(java.lang.String... args)
                         throws java.sql.SQLException
        Run the viewer.
        Parameters:
        args - the command line arguments
        Throws:
        java.sql.SQLException
      • showUsage

        protected void showUsage()
        Description copied from class: Tool
        Print the usage of the tool. This method reads the description from the resource file.
        Overrides:
        showUsage in class Tool
      • runTool

        public void runTool​(java.lang.String... args)
                     throws java.sql.SQLException
        Description copied from class: Tool
        Run the tool with the given output stream and arguments.
        Specified by:
        runTool in class Tool
        Parameters:
        args - the argument list
        Throws:
        java.sql.SQLException - on failure