CPIO Class Reference

Collaboration diagram for CPIO:

Collaboration graph
[legend]

List of all members.

Classes

class  Link
class  LinkNameLengthComparator

Public Member Functions

 CPIO (InputStream input)
 CPIO (File cpioFile) throws FileNotFoundException
void extractTo (File destinationFolder, boolean symbolicLinksSupported, IProgressMonitor progressMonitor) throws IOException, InterruptedException
void setLength (long length)

Static Public Attributes

static final int S_IFDIR = 16384
static final int S_IFLNK = 40960
static final int S_IFREG = 32768

Protected Member Functions

byte[] readFully (InputStream is, byte[] b, int offset, int length) throws IOException
byte[] readFully (InputStream is, byte[] b) throws IOException
String readString (InputStream is, byte[] b) throws IOException
void skipFully (InputStream inputStream, long skip) throws IOException
File toFile (File workingDir, String path)

Package Attributes

long fileLength = 0
InputStream paxStream

Private Attributes

File _cpioFile


Constructor & Destructor Documentation

CPIO ( File  cpioFile  )  throws FileNotFoundException

CPIO ( InputStream  input  ) 


Member Function Documentation

void extractTo ( File  destinationFolder,
boolean  symbolicLinksSupported,
IProgressMonitor  progressMonitor 
) throws IOException, InterruptedException

byte [] readFully ( InputStream  is,
byte[]  b,
int  offset,
int  length 
) throws IOException [protected]

byte [] readFully ( InputStream  is,
byte[]  b 
) throws IOException [protected]

String readString ( InputStream  is,
byte[]  b 
) throws IOException [protected]

void setLength ( long  length  ) 

void skipFully ( InputStream  inputStream,
long  skip 
) throws IOException [protected]

File toFile ( File  workingDir,
String  path 
) [protected]


Member Data Documentation

File _cpioFile [private]

long fileLength = 0 [package]

InputStream paxStream [package]

final int S_IFDIR = 16384 [static]

final int S_IFLNK = 40960 [static]

final int S_IFREG = 32768 [static]


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

Generated on Sat May 26 06:43:36 2012 for Project Wonder by  doxygen 1.5.8