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

org::jlhafrontend::JLHAFrontEnd Class Reference

List of all members.


Detailed Description

LHA front-end startup class

Definition at line 46 of file JLHAFrontEnd.java.


Public Member Functions

void add (Opts useropts, String archiveFilename, String[] filesFilename)
boolean checkDirTraversal (String filename)
void create (Opts useropts, String archiveFilename, String[] filesFilename)
void createDirectory (Opts useropts, LhaOutputStream lio, String dirname)
void createFile (Opts useropts, LhaOutputStream lio, String filename)
void createSwitcher (Opts useropts, LhaOutputStream lio, String filename)
void del (Opts useropts, String archiveFilename, String[] filesFilename)
void extract (Opts useropts, String archiveFilename, String[] filesFilename)
boolean isProbableSymLink (String filename)
 JLHAFrontEnd ()
void list (Opts useropts, String archiveFilename, String[] filesFilename)
String mkbackup (String filename)
void print (Opts useropts, String archiveFilename, String[] filesFilename)
void start (String[] args)
void test (Opts useropts, String archiveFilename, String[] filesFilename)
Vector transferBackupToArchive (LhaFile bak, LhaOutputStream arc, String[] blackList)
int transferTo (InputStream in, OutputStream out)
void update (Opts useropts, String archiveFilename, String[] filesFilename)
void usage (String[] args)
void verboseList (Opts useropts, String archiveFilename, String[] filesFilename)

Static Public Member Functions

static JLHAFrontEnd getInstance ()
static void main (String[] args)

Package Functions

String addFileSeparator (String a)
void genListArray (String filename, Vector data)
String[] genListArray (String[] filename)

Private Member Functions

long calEntropy (long[] ent)
boolean isInArray (String a, String[] b)
LhaHeader[] listCore (Opts useropts, String archiveFilename, String[] filesFilename)
int transferTo (InputStream in, OutputStream out, long[] ent)

Private Attributes

Logger mylogger = null

Static Private Attributes

static JLHAFrontEnd instance = null

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index