org.codehaus.mojo.truezip
Interface TrueZip

All Known Implementing Classes:
DefaultTrueZip

public interface TrueZip

Generic interface to manipulate recognizable archives


Method Summary
 void copy(TrueZipFileSet oneFileSet)
          Copy a set of file to another archive using FileSet configuration
 void copyFile(de.schlichtherle.truezip.file.TFile source, de.schlichtherle.truezip.file.TFile dest)
          Copy a file or archive to another destination.
 List<de.schlichtherle.truezip.file.TFile> list(TrueZipFileSet fileSet)
          List the file from FileSet's configuration
 void move(TrueZipFileSet oneFileSet)
          Move a set of files from one archive to another
 void moveFile(de.schlichtherle.truezip.file.TFile source, de.schlichtherle.truezip.file.TFile dest)
          Copy a file for MOJO
 void remove(TrueZipFileSet oneFileSet)
          Remove a set of files from the archive setup
 void sync()
          Global sync
 void sync(de.schlichtherle.truezip.file.TFile file)
          Selectively sync
 

Method Detail

list

List<de.schlichtherle.truezip.file.TFile> list(TrueZipFileSet fileSet)
List the file from FileSet's configuration

Parameters:
fileSet -
Returns:

copy

void copy(TrueZipFileSet oneFileSet)
          throws IOException
Copy a set of file to another archive using FileSet configuration

Parameters:
oneFileSet -
Throws:
IOException

copyFile

void copyFile(de.schlichtherle.truezip.file.TFile source,
              de.schlichtherle.truezip.file.TFile dest)
              throws IOException
Copy a file or archive to another destination. Hash values of source's sub-archive(s) are not kept intact during copy. Use copy() interface instead of if needed

Parameters:
source -
dest -
Throws:
IOException

moveFile

void moveFile(de.schlichtherle.truezip.file.TFile source,
              de.schlichtherle.truezip.file.TFile dest)
              throws IOException
Copy a file for MOJO

Parameters:
source -
dest -
Throws:
IOException

move

void move(TrueZipFileSet oneFileSet)
          throws IOException
Move a set of files from one archive to another

Parameters:
oneFileSet - - The archive setup
Throws:
IOException

remove

void remove(TrueZipFileSet oneFileSet)
            throws IOException
Remove a set of files from the archive setup

Parameters:
oneFileSet - - the archive setup
Throws:
IOException

sync

void sync()
          throws de.schlichtherle.truezip.fs.FsSyncException
Global sync

Throws:
de.schlichtherle.truezip.fs.FsSyncException

sync

void sync(de.schlichtherle.truezip.file.TFile file)
          throws de.schlichtherle.truezip.fs.FsSyncException
Selectively sync

Parameters:
file -
Throws:
de.schlichtherle.truezip.fs.FsSyncException


Copyright © 2012 Codehaus. All Rights Reserved.