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

void org::jlhafrontend::JLHAFrontEnd::create ( Opts  useropts,
String  archiveFilename,
String[]  filesFilename 
) [inline]

execute create command

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

Definition at line 1559 of file JLHAFrontEnd.java.

References createSwitcher(), and mylogger.

Referenced by add(), start(), and update().

      LhaOutputStream lio=null;
      int i;
      if (filesFilename == null || filesFilename.length==0) {
          System.err.println("LHa: Error: No files given in argument, do nothing.");
      try {
          lio = new LhaOutputStream(new FileOutputStream(archiveFilename));
      } catch (Exception e) {
          mylogger.severe("new LhaImeediateOutputStream with "+archiveFilename+" error: "+e.toString());
      for (i=0 ; i<filesFilename.length ; i++) {
      try {
      } catch (IOException e) {
          mylogger.severe("lio.close() "+e.toString());

Generated by  Doxygen 1.6.0   Back to index