Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Public Member Functions | List of all members
CASUAL.communicationstools.heimdall.odin.OdinFile Class Reference

Public Member Functions

 OdinFile (File odinFile) throws FileNotFoundException, IOException, NoSuchAlgorithmException, CorruptOdinFileException, ArchiveException
 
 OdinFile (String odinFile) throws FileNotFoundException, IOException, NoSuchAlgorithmException, CorruptOdinFileException, ArchiveException
 
File[] extractOdinContents (String outputDir) throws IOException, ArchiveException, NoSuchAlgorithmException
 
 OdinFile (File odinFile) throws FileNotFoundException, IOException, NoSuchAlgorithmException, CorruptOdinFileException, ArchiveException
 
 OdinFile (String odinFile) throws FileNotFoundException, IOException, NoSuchAlgorithmException, CorruptOdinFileException, ArchiveException
 
File[] extractOdinContents (String outputDir) throws IOException, ArchiveException, NoSuchAlgorithmException
 

Detailed Description

Opens odin files and performs consistancy checks

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

Constructor & Destructor Documentation

CASUAL.communicationstools.heimdall.odin.OdinFile.OdinFile ( File  odinFile) throws FileNotFoundException, IOException, NoSuchAlgorithmException, CorruptOdinFileException, ArchiveException

Opens an Odin file and verifies MD5sum

Parameters
odinFilefile to be opened and verified
Exceptions
CorruptOdinFileExceptionOdin checks did not pass
FileNotFoundException
IOException
NoSuchAlgorithmException
org.apache.commons.compress.archivers.ArchiveException
CASUAL.communicationstools.heimdall.odin.OdinFile.OdinFile ( String  odinFile) throws FileNotFoundException, IOException, NoSuchAlgorithmException, CorruptOdinFileException, ArchiveException

Opens an Odin file and verifies MD5sum

Parameters
odinFilefile to be opened and verified
Exceptions
CorruptOdinFileExceptionOdin checks did not pass
FileNotFoundException
IOException
NoSuchAlgorithmException
org.apache.commons.compress.archivers.ArchiveException
CASUAL.communicationstools.heimdall.odin.OdinFile.OdinFile ( File  odinFile) throws FileNotFoundException, IOException, NoSuchAlgorithmException, CorruptOdinFileException, ArchiveException

Opens an Odin file and verifies MD5sum

Parameters
odinFilefile to be opened and verified
Exceptions
CorruptOdinFileExceptionOdin checks did not pass
FileNotFoundException
IOException
NoSuchAlgorithmException
org.apache.commons.compress.archivers.ArchiveException
CASUAL.communicationstools.heimdall.odin.OdinFile.OdinFile ( String  odinFile) throws FileNotFoundException, IOException, NoSuchAlgorithmException, CorruptOdinFileException, ArchiveException

Opens an Odin file and verifies MD5sum

Parameters
odinFilefile to be opened and verified
Exceptions
CorruptOdinFileExceptionOdin checks did not pass
FileNotFoundException
IOException
NoSuchAlgorithmException
org.apache.commons.compress.archivers.ArchiveException

Member Function Documentation

File [] CASUAL.communicationstools.heimdall.odin.OdinFile.extractOdinContents ( String  outputDir) throws IOException, ArchiveException, NoSuchAlgorithmException

Extracts Odin contents to outputDir

Parameters
outputDirtemp folder
Returns
an array of files extracted from Odin Package
Exceptions
IOException
ArchiveException
NoSuchAlgorithmException
File [] CASUAL.communicationstools.heimdall.odin.OdinFile.extractOdinContents ( String  outputDir) throws IOException, ArchiveException, NoSuchAlgorithmException

Extracts Odin contents to outputDir

Parameters
outputDirtemp folder
Returns
an array of files extracted from Odin Package
Exceptions
IOException
ArchiveException
NoSuchAlgorithmException

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