Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | Static Public Member Functions | List of all members
CASUAL.caspac.Caspac Class Reference

Public Member Functions

 Caspac (CASUALSessionData sd, File caspac, String tempDir) throws IOException
 
 Caspac (CASUALSessionData sd, File caspac) throws IOException
 
 Caspac (CASUALSessionData sd, File caspac, String tempDir, int type) throws IOException
 
 Caspac (CASUALSessionData sd, File caspac, String tempDir, int type, char[] securityKey) throws IOException, Exception
 
 Caspac (CASUALSessionData sd, CodeSource src, String tempDir, int type) throws IOException
 
synchronized Script setActiveScript (Script s)
 
Script getActiveScript ()
 
Caspac removeScript (Script script)
 
Caspac removeAllScripts ()
 
Script getFirstScript ()
 
Caspac addScript (Script script)
 
void write () throws IOException
 
Build setBuild (Properties prop)
 
synchronized Caspac loadFirstScriptFromCASPAC () throws ZipException, IOException
 
synchronized Script loadActiveScript () throws IOException
 
Caspac load () throws ZipException, IOException
 
Caspac waitForUnzipAndRun (Runnable action)
 
void waitForUnzipAndRun (Runnable action, boolean onASeparateThread, String ThreadName)
 
synchronized void startAndWaitForUnzip ()
 
Caspac waitForUnzip ()
 
Script getScriptByFilename (String fileName)
 
String[] getScriptNames ()
 
Script getScriptByName (String name)
 
Script updateIfRequired (Script s) throws MalformedURLException, URISyntaxException, IOException
 
Caspac setCASPACLocation (File f)
 
File getCASPACLocation ()
 
int replaceScriptByName (Script s)
 
int getType ()
 
String toString ()
 
BufferedImage getLogo ()
 
Caspac setLogo (BufferedImage logo)
 
File getCASPAC ()
 
Caspac setCASPAC (File CASPAC)
 
CodeSource getCASPACsrc ()
 
Caspac setCASPACsrc (CodeSource CASPACsrc)
 
String getOverview ()
 
Caspac setOverview (String overview)
 
Build getBuild ()
 
Caspac setBuild (Build build)
 
List< ScriptgetScripts ()
 
Caspac setScripts (ArrayList< Script > scripts)
 
String getTempFolder ()
 
Caspac setTempFolder (String TempFolder)
 
ArrayList
< CASUAL.misc.MandatoryThread
getUnzipThreads ()
 
Caspac setUnzipThreads (ArrayList< CASUAL.misc.MandatoryThread > unzipThreads)
 
boolean isCaspacShouldBeDeletedAfterExtraction ()
 
Caspac setCaspacShouldBeDeletedAfterExtraction (boolean caspacShouldBeDeletedAfterExtraction)
 
String getTempbannerpic ()
 
Caspac setTempbannerpic (String tempbannerpic)
 
String[] getControlFiles ()
 
Caspac setControlFiles (String[] controlFiles)
 
CASUALSessionData getSd ()
 
 Caspac (CASUALSessionData sd, File caspac, String tempDir) throws IOException
 
 Caspac (CASUALSessionData sd, File caspac) throws IOException
 
 Caspac (CASUALSessionData sd, File caspac, String tempDir, int type) throws IOException
 
 Caspac (CASUALSessionData sd, File caspac, String tempDir, int type, char[] securityKey) throws IOException, Exception
 
 Caspac (CASUALSessionData sd, CodeSource src, String tempDir, int type) throws IOException
 
synchronized Script setActiveScript (Script s)
 
Script getActiveScript ()
 
Caspac removeScript (Script script)
 
Caspac removeAllScripts ()
 
Script getFirstScript ()
 
Caspac addScript (Script script)
 
void write () throws IOException
 
Build setBuild (Properties prop)
 
synchronized Caspac loadFirstScriptFromCASPAC () throws ZipException, IOException
 
synchronized Script loadActiveScript () throws IOException
 
Caspac load () throws ZipException, IOException
 
Caspac waitForUnzipAndRun (Runnable action)
 
void waitForUnzipAndRun (Runnable action, boolean onASeparateThread, String ThreadName)
 
synchronized void startAndWaitForUnzip ()
 
Caspac waitForUnzip ()
 
Script getScriptByFilename (String fileName)
 
String[] getScriptNames ()
 
Script getScriptByName (String name)
 
Script updateIfRequired (Script s) throws MalformedURLException, URISyntaxException, IOException
 
Caspac setCASPACLocation (File f)
 
File getCASPACLocation ()
 
int replaceScriptByName (Script s)
 
int getType ()
 
String toString ()
 
BufferedImage getLogo ()
 
Caspac setLogo (BufferedImage logo)
 
File getCASPAC ()
 
Caspac setCASPAC (File CASPAC)
 
CodeSource getCASPACsrc ()
 
Caspac setCASPACsrc (CodeSource CASPACsrc)
 
String getOverview ()
 
Caspac setOverview (String overview)
 
Build getBuild ()
 
Caspac setBuild (Build build)
 
List< ScriptgetScripts ()
 
Caspac setScripts (ArrayList< Script > scripts)
 
String getTempFolder ()
 
Caspac setTempFolder (String TempFolder)
 
ArrayList
< CASUAL.misc.MandatoryThread
getUnzipThreads ()
 
Caspac setUnzipThreads (ArrayList< CASUAL.misc.MandatoryThread > unzipThreads)
 
boolean isCaspacShouldBeDeletedAfterExtraction ()
 
Caspac setCaspacShouldBeDeletedAfterExtraction (boolean caspacShouldBeDeletedAfterExtraction)
 
String getTempbannerpic ()
 
Caspac setTempbannerpic (String tempbannerpic)
 
String[] getControlFiles ()
 
Caspac setControlFiles (String[] controlFiles)
 
CASUALSessionData getSd ()
 

Static Public Member Functions

static boolean isDebug ()
 
static void setDebug (boolean aDebug)
 
static final Caspac makeGenericCaspac () throws IOException
 
static boolean isDebug ()
 
static void setDebug (boolean aDebug)
 
static final Caspac makeGenericCaspac () throws IOException
 

Detailed Description

handles gathering, reading and writing of CASPACs in a unified manner

Author
Adam Outler adamo.nosp@m.utle.nosp@m.r@gma.nosp@m.il.c.nosp@m.om

Constructor & Destructor Documentation

CASUAL.caspac.Caspac.Caspac ( CASUALSessionData  sd,
File  caspac,
String  tempDir 
) throws IOException

Constructor for Caspac

Parameters
sdThe CASUALSessionData instace to use for this.
caspacfile containing CASPAC information.
tempDirtemp folder to use
Exceptions
IOExceptionwhen permission problem exists
CASUAL.caspac.Caspac.Caspac ( CASUALSessionData  sd,
File  caspac 
) throws IOException

Constructor for Caspac

Parameters
sdThe CASUALSessionData instace to use for this.
caspacfile containing CASPAC information.
Exceptions
IOExceptionwhen permission problem exists
CASUAL.caspac.Caspac.Caspac ( CASUALSessionData  sd,
File  caspac,
String  tempDir,
int  type 
) throws IOException

Constructor for Caspac

Parameters
sdThe CASUALSessionData instace to use for this.
caspacfile containing CASPAC information.
tempDirtemp folder to use
typeType of CASPAC CASPAC, Type 1 CASUAL, Type 2 Filesystem
Exceptions
IOExceptionwhen permission problem exists
CASUAL.caspac.Caspac.Caspac ( CASUALSessionData  sd,
File  caspac,
String  tempDir,
int  type,
char[]  securityKey 
) throws IOException, Exception

secure constructor for Caspac always call startAndWaitForUnzip in order to delete file and maintain security

Parameters
sdThe CASUALSessionData instace to use for this.
caspacfile containing CASPAC information.
tempDirtemp folder to use
typeType of CASPAC CASPAC, Type 1 CASUAL, Type 2 Filesystem
securityKeykey to decrypt CASPAC.
Exceptions
IOExceptionwhen permission problem exists
Exceptionwhen crypto problem exists
CASUAL.caspac.Caspac.Caspac ( CASUALSessionData  sd,
CodeSource  src,
String  tempDir,
int  type 
) throws IOException

Constructor for CASUAL

Parameters
sdThe CASUALSessionData instace to use for this.
srcCodeSource reference, used to reference SCRIPTS folder.
tempDirTemporary folder to use
typeType of CASPAC CASPAC, Type 1 CASUAL, Type 2 Filesystem (should be 1 generally)
Exceptions
IOExceptionwhen permission problem exists
CASUAL.caspac.Caspac.Caspac ( CASUALSessionData  sd,
File  caspac,
String  tempDir 
) throws IOException

Constructor for Caspac

Parameters
sdThe CASUALSessionData instace to use for this.
caspacfile containing CASPAC information.
tempDirtemp folder to use
Exceptions
IOExceptionwhen permission problem exists
CASUAL.caspac.Caspac.Caspac ( CASUALSessionData  sd,
File  caspac 
) throws IOException

Constructor for Caspac

Parameters
sdThe CASUALSessionData instace to use for this.
caspacfile containing CASPAC information.
Exceptions
IOExceptionwhen permission problem exists
CASUAL.caspac.Caspac.Caspac ( CASUALSessionData  sd,
File  caspac,
String  tempDir,
int  type 
) throws IOException

Constructor for Caspac

Parameters
sdThe CASUALSessionData instace to use for this.
caspacfile containing CASPAC information.
tempDirtemp folder to use
typeType of CASPAC CASPAC, Type 1 CASUAL, Type 2 Filesystem
Exceptions
IOExceptionwhen permission problem exists
CASUAL.caspac.Caspac.Caspac ( CASUALSessionData  sd,
File  caspac,
String  tempDir,
int  type,
char[]  securityKey 
) throws IOException, Exception

secure constructor for Caspac always call startAndWaitForUnzip in order to delete file and maintain security

Parameters
sdThe CASUALSessionData instace to use for this.
caspacfile containing CASPAC information.
tempDirtemp folder to use
typeType of CASPAC CASPAC, Type 1 CASUAL, Type 2 Filesystem
securityKeykey to decrypt CASPAC.
Exceptions
IOExceptionwhen permission problem exists
Exceptionwhen crypto problem exists
CASUAL.caspac.Caspac.Caspac ( CASUALSessionData  sd,
CodeSource  src,
String  tempDir,
int  type 
) throws IOException

Constructor for CASUAL

Parameters
sdThe CASUALSessionData instace to use for this.
srcCodeSource reference, used to reference SCRIPTS folder.
tempDirTemporary folder to use
typeType of CASPAC CASPAC, Type 1 CASUAL, Type 2 Filesystem (should be 1 generally)
Exceptions
IOExceptionwhen permission problem exists

Member Function Documentation

Script CASUAL.caspac.Caspac.getActiveScript ( )

gets the active script.

Returns
reference to active script.
Script CASUAL.caspac.Caspac.getActiveScript ( )

gets the active script.

Returns
reference to active script.
Build CASUAL.caspac.Caspac.getBuild ( )
Returns
the build
Build CASUAL.caspac.Caspac.getBuild ( )
Returns
the build
File CASUAL.caspac.Caspac.getCASPAC ( )
Returns
the CASPAC
File CASUAL.caspac.Caspac.getCASPAC ( )
Returns
the CASPAC
File CASUAL.caspac.Caspac.getCASPACLocation ( )

gets the CASPAC location

Returns
path to CASPAC
File CASUAL.caspac.Caspac.getCASPACLocation ( )

gets the CASPAC location

Returns
path to CASPAC
CodeSource CASUAL.caspac.Caspac.getCASPACsrc ( )
Returns
the CASPACsrc
CodeSource CASUAL.caspac.Caspac.getCASPACsrc ( )
Returns
the CASPACsrc
String [] CASUAL.caspac.Caspac.getControlFiles ( )
Returns
the controlFiles
String [] CASUAL.caspac.Caspac.getControlFiles ( )
Returns
the controlFiles
BufferedImage CASUAL.caspac.Caspac.getLogo ( )
Returns
the logo
BufferedImage CASUAL.caspac.Caspac.getLogo ( )
Returns
the logo
String CASUAL.caspac.Caspac.getOverview ( )
Returns
the overview
String CASUAL.caspac.Caspac.getOverview ( )
Returns
the overview
Script CASUAL.caspac.Caspac.getScriptByFilename ( String  fileName)

script instance which is being referenced

Parameters
fileNamefilename of script
Returns
script instance of script to be processed null if not found
Script CASUAL.caspac.Caspac.getScriptByFilename ( String  fileName)

script instance which is being referenced

Parameters
fileNamefilename of script
Returns
script instance of script to be processed null if not found
Script CASUAL.caspac.Caspac.getScriptByName ( String  name)

gets script by name

Parameters
namename of script to be pulled
Returns
Script object or null
Script CASUAL.caspac.Caspac.getScriptByName ( String  name)

gets script by name

Parameters
namename of script to be pulled
Returns
Script object or null
String [] CASUAL.caspac.Caspac.getScriptNames ( )

returns all script names

Returns
list of script names
String [] CASUAL.caspac.Caspac.getScriptNames ( )

returns all script names

Returns
list of script names
List<Script> CASUAL.caspac.Caspac.getScripts ( )
Returns
the scripts
List<Script> CASUAL.caspac.Caspac.getScripts ( )
Returns
the scripts
CASUALSessionData CASUAL.caspac.Caspac.getSd ( )
Returns
the sd
CASUALSessionData CASUAL.caspac.Caspac.getSd ( )
Returns
the sd
String CASUAL.caspac.Caspac.getTempbannerpic ( )
Returns
the tempbannerpic
String CASUAL.caspac.Caspac.getTempbannerpic ( )
Returns
the tempbannerpic
String CASUAL.caspac.Caspac.getTempFolder ( )
Returns
the TempFolder
String CASUAL.caspac.Caspac.getTempFolder ( )
Returns
the TempFolder
int CASUAL.caspac.Caspac.getType ( )

gets the type of CASPAC

Returns
type of CASPAC
int CASUAL.caspac.Caspac.getType ( )

gets the type of CASPAC

Returns
type of CASPAC
ArrayList<CASUAL.misc.MandatoryThread> CASUAL.caspac.Caspac.getUnzipThreads ( )
Returns
the unzipThreads
ArrayList<CASUAL.misc.MandatoryThread> CASUAL.caspac.Caspac.getUnzipThreads ( )
Returns
the unzipThreads
boolean CASUAL.caspac.Caspac.isCaspacShouldBeDeletedAfterExtraction ( )
Returns
the caspacShouldBeDeletedAfterExtraction
boolean CASUAL.caspac.Caspac.isCaspacShouldBeDeletedAfterExtraction ( )
Returns
the caspacShouldBeDeletedAfterExtraction
static boolean CASUAL.caspac.Caspac.isDebug ( )
static
Returns
the debug
static boolean CASUAL.caspac.Caspac.isDebug ( )
static
Returns
the debug
Caspac CASUAL.caspac.Caspac.load ( ) throws ZipException, IOException

loads a CASPAC.zip file

Returns
this CASPAC
Exceptions
ZipExceptionwhen zip file is corrupt
IOExceptionwhen permission problem exists
Caspac CASUAL.caspac.Caspac.load ( ) throws ZipException, IOException

loads a CASPAC.zip file

Returns
this CASPAC
Exceptions
ZipExceptionwhen zip file is corrupt
IOExceptionwhen permission problem exists
synchronized Script CASUAL.caspac.Caspac.loadActiveScript ( ) throws IOException

Loads the active script after its been set.

Returns
active script
Exceptions
IOExceptionwhen permission problem exists
synchronized Script CASUAL.caspac.Caspac.loadActiveScript ( ) throws IOException

Loads the active script after its been set.

Returns
active script
Exceptions
IOExceptionwhen permission problem exists
synchronized Caspac CASUAL.caspac.Caspac.loadFirstScriptFromCASPAC ( ) throws ZipException, IOException

parses CASPAC and loads the first script seen identified by non-caspac controller files.

Returns
this CASPAC
Exceptions
ZipExceptionwhen zip file is corrupt
IOExceptionwhen permission problem exists
synchronized Caspac CASUAL.caspac.Caspac.loadFirstScriptFromCASPAC ( ) throws ZipException, IOException

parses CASPAC and loads the first script seen identified by non-caspac controller files.

Returns
this CASPAC
Exceptions
ZipExceptionwhen zip file is corrupt
IOExceptionwhen permission problem exists
static final Caspac CASUAL.caspac.Caspac.makeGenericCaspac ( ) throws IOException
static

returns an empty CASPAC.

Returns
empty CASPAC >
Exceptions
IOExceptionwhen permission problem exists
static final Caspac CASUAL.caspac.Caspac.makeGenericCaspac ( ) throws IOException
static

returns an empty CASPAC.

Returns
empty CASPAC >
Exceptions
IOExceptionwhen permission problem exists
Caspac CASUAL.caspac.Caspac.removeScript ( Script  script)

removes a script

Parameters
scriptScript reference
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.removeScript ( Script  script)

removes a script

Parameters
scriptScript reference
Returns
this CASPAC
int CASUAL.caspac.Caspac.replaceScriptByName ( Script  s)

replaces a script in list array.

Parameters
sscript to replace
Returns
location of script in scripts array.
int CASUAL.caspac.Caspac.replaceScriptByName ( Script  s)

replaces a script in list array.

Parameters
sscript to replace
Returns
location of script in scripts array.
synchronized Script CASUAL.caspac.Caspac.setActiveScript ( Script  s)

Sets the active script to an instace of a script.

Parameters
sscript to make active.
Returns
Active Script
synchronized Script CASUAL.caspac.Caspac.setActiveScript ( Script  s)

Sets the active script to an instace of a script.

Parameters
sscript to make active.
Returns
Active Script
Build CASUAL.caspac.Caspac.setBuild ( Properties  prop)

sets build properties

Parameters
propproperties file
Returns
build.prop
Build CASUAL.caspac.Caspac.setBuild ( Properties  prop)

sets build properties

Parameters
propproperties file
Returns
build.prop
Caspac CASUAL.caspac.Caspac.setBuild ( Build  build)
Parameters
buildthe build to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setBuild ( Build  build)
Parameters
buildthe build to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setCASPAC ( File  CASPAC)
Parameters
CASPACthe CASPAC to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setCASPAC ( File  CASPAC)
Parameters
CASPACthe CASPAC to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setCASPACLocation ( File  f)

sets the CASPAC location

Parameters
fFile to use for new CASPAC location
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setCASPACLocation ( File  f)

sets the CASPAC location

Parameters
fFile to use for new CASPAC location
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setCaspacShouldBeDeletedAfterExtraction ( boolean  caspacShouldBeDeletedAfterExtraction)
Parameters
caspacShouldBeDeletedAfterExtractionthe caspacShouldBeDeletedAfterExtraction to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setCaspacShouldBeDeletedAfterExtraction ( boolean  caspacShouldBeDeletedAfterExtraction)
Parameters
caspacShouldBeDeletedAfterExtractionthe caspacShouldBeDeletedAfterExtraction to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setCASPACsrc ( CodeSource  CASPACsrc)
Parameters
CASPACsrcthe CASPACsrc to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setCASPACsrc ( CodeSource  CASPACsrc)
Parameters
CASPACsrcthe CASPACsrc to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setControlFiles ( String[]  controlFiles)
Parameters
controlFilesthe controlFiles to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setControlFiles ( String[]  controlFiles)
Parameters
controlFilesthe controlFiles to set
Returns
this CASPAC
static void CASUAL.caspac.Caspac.setDebug ( boolean  aDebug)
static
Parameters
aDebugthe debug to set
static void CASUAL.caspac.Caspac.setDebug ( boolean  aDebug)
static
Parameters
aDebugthe debug to set
Caspac CASUAL.caspac.Caspac.setLogo ( BufferedImage  logo)
Parameters
logothe logo to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setLogo ( BufferedImage  logo)
Parameters
logothe logo to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setOverview ( String  overview)
Parameters
overviewthe overview to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setOverview ( String  overview)
Parameters
overviewthe overview to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setScripts ( ArrayList< Script scripts)
Parameters
scriptsthe scripts to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setScripts ( ArrayList< Script scripts)
Parameters
scriptsthe scripts to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setTempbannerpic ( String  tempbannerpic)
Parameters
tempbannerpicthe tempbannerpic to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setTempbannerpic ( String  tempbannerpic)
Parameters
tempbannerpicthe tempbannerpic to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setTempFolder ( String  TempFolder)
Parameters
TempFolderthe TempFolder to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setTempFolder ( String  TempFolder)
Parameters
TempFolderthe TempFolder to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setUnzipThreads ( ArrayList< CASUAL.misc.MandatoryThread unzipThreads)
Parameters
unzipThreadsthe unzipThreads to set
Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.setUnzipThreads ( ArrayList< CASUAL.misc.MandatoryThread unzipThreads)
Parameters
unzipThreadsthe unzipThreads to set
Returns
this CASPAC
synchronized void CASUAL.caspac.Caspac.startAndWaitForUnzip ( )

causes the current thread to wait until all unzipThreads have completed. this is the longest part and the last part of completion of the CASPAC prep.

synchronized void CASUAL.caspac.Caspac.startAndWaitForUnzip ( )

causes the current thread to wait until all unzipThreads have completed. this is the longest part and the last part of completion of the CASPAC prep.

Script CASUAL.caspac.Caspac.updateIfRequired ( Script  s) throws MalformedURLException, URISyntaxException, IOException

checks for updates.

Parameters
sScript to be checked
Returns
true if script can continue. false if halt is recommended.
Exceptions
java.net.MalformedURLExceptionshould never happen
java.net.URISyntaxExceptionshould never happen.
Script CASUAL.caspac.Caspac.updateIfRequired ( Script  s) throws MalformedURLException, URISyntaxException, IOException

checks for updates.

Parameters
sScript to be checked
Returns
true if script can continue. false if halt is recommended.
Exceptions
java.net.MalformedURLExceptionshould never happen
java.net.URISyntaxExceptionshould never happen.
Caspac CASUAL.caspac.Caspac.waitForUnzip ( )

loops through active unzip threads and waits for all unzip to complete.

Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.waitForUnzip ( )

loops through active unzip threads and waits for all unzip to complete.

Returns
this CASPAC
Caspac CASUAL.caspac.Caspac.waitForUnzipAndRun ( Runnable  action)

waits for unzip to complete and executes a runnable.

Parameters
actionrunnable to execute.
Returns
this caspac
Caspac CASUAL.caspac.Caspac.waitForUnzipAndRun ( Runnable  action)

waits for unzip to complete and executes a runnable.

Parameters
actionrunnable to execute.
Returns
this caspac
void CASUAL.caspac.Caspac.waitForUnzipAndRun ( Runnable  action,
boolean  onASeparateThread,
String  ThreadName 
)

waits for unzip to complete and executes a runnable.

Parameters
actionrunnable to execute.
onASeparateThreadtrue if multi-threadded
ThreadNamename for the alternate thread.
void CASUAL.caspac.Caspac.waitForUnzipAndRun ( Runnable  action,
boolean  onASeparateThread,
String  ThreadName 
)

waits for unzip to complete and executes a runnable.

Parameters
actionrunnable to execute.
onASeparateThreadtrue if multi-threadded
ThreadNamename for the alternate thread.
void CASUAL.caspac.Caspac.write ( ) throws IOException

writes a CASPAC

Exceptions
IOExceptionwhen permission problem exists
void CASUAL.caspac.Caspac.write ( ) throws IOException

writes a CASPAC

Exceptions
IOExceptionwhen permission problem exists

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