org.codehaus.mojo.truezip.internal
Class DefaultTrueZip

java.lang.Object
  extended by org.codehaus.mojo.truezip.internal.DefaultTrueZip
All Implemented Interfaces:
TrueZip

public class DefaultTrueZip
extends Object
implements TrueZip


Constructor Summary
DefaultTrueZip()
           
 
Method Summary
 void copy(TrueZipFileSet fileSet)
          Copy a set of file to another archive using FileSet configuration
 void copy(TrueZipFileSet oneFileSet, TrueZipFileSetManager fileSetManager)
           
 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 fileSet)
          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 fileSet)
          Remove a set of files from the archive setup
 void sync()
          Global sync
 void sync(de.schlichtherle.truezip.file.TFile file)
          Selectively sync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTrueZip

public DefaultTrueZip()
Method Detail

sync

public void sync()
          throws de.schlichtherle.truezip.fs.FsSyncException
Description copied from interface: TrueZip
Global sync

Specified by:
sync in interface TrueZip
Throws:
de.schlichtherle.truezip.fs.FsSyncException

sync

public void sync(de.schlichtherle.truezip.file.TFile file)
          throws de.schlichtherle.truezip.fs.FsSyncException
Description copied from interface: TrueZip
Selectively sync

Specified by:
sync in interface TrueZip
Throws:
de.schlichtherle.truezip.fs.FsSyncException

list

public List<de.schlichtherle.truezip.file.TFile> list(TrueZipFileSet fileSet)
Description copied from interface: TrueZip
List the file from FileSet's configuration

Specified by:
list in interface TrueZip
Returns:

move

public void move(TrueZipFileSet fileSet)
          throws IOException
Description copied from interface: TrueZip
Move a set of files from one archive to another

Specified by:
move in interface TrueZip
Parameters:
fileSet - - The archive setup
Throws:
IOException

copy

public void copy(TrueZipFileSet fileSet)
          throws IOException
Description copied from interface: TrueZip
Copy a set of file to another archive using FileSet configuration

Specified by:
copy in interface TrueZip
Throws:
IOException

copy

public void copy(TrueZipFileSet oneFileSet,
                 TrueZipFileSetManager fileSetManager)
          throws IOException
Throws:
IOException

copyFile

public void copyFile(de.schlichtherle.truezip.file.TFile source,
                     de.schlichtherle.truezip.file.TFile dest)
              throws IOException
Description copied from interface: TrueZip
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

Specified by:
copyFile in interface TrueZip
Throws:
IOException

moveFile

public void moveFile(de.schlichtherle.truezip.file.TFile source,
                     de.schlichtherle.truezip.file.TFile dest)
              throws IOException
Description copied from interface: TrueZip
Copy a file for MOJO

Specified by:
moveFile in interface TrueZip
Throws:
IOException

remove

public void remove(TrueZipFileSet fileSet)
            throws IOException
Description copied from interface: TrueZip
Remove a set of files from the archive setup

Specified by:
remove in interface TrueZip
Parameters:
fileSet - - the archive setup
Throws:
IOException


Copyright © 2012 Codehaus. All Rights Reserved.