Logo Search packages:      
Sourcecode: jlha-utils version File versions  Download package

LhaHeader [] org::jlhafrontend::JLHAFrontEnd::listCore ( Opts  useropts,
String  archiveFilename,
String[]  filesFilename 
) [inline, private]

list/verbose list core

Parameters:
useropts Options input by users
archiveFilename the filename of the archive file
filesFilename the array of filenames to be processed

Definition at line 1132 of file JLHAFrontEnd.java.

References mylogger.

Referenced by list(), and verboseList().

                                                                                                {
      LhaFile archiveFile=null;
      LhaHeader[] lhaEntries=null;

      try {
          archiveFile = new LhaFile (new File(archiveFilename));
      } catch (Exception e) {
          mylogger.warning("Open "+archiveFilename+" error:"+e.toString());
          return null;
      }

      lhaEntries = archiveFile.getEntries();
      
      try {
          archiveFile.close();
      } catch (IOException e) {
          mylogger.warning("Close "+archiveFilename+" error:"+e.toString());
      }
      return lhaEntries;
    }


Generated by  Doxygen 1.6.0   Back to index