au.edu.archer.service.ddm.impl
Class FilePackageServiceImpl

java.lang.Object
  extended by au.edu.archer.service.ddm.impl.FilePackageServiceImpl
All Implemented Interfaces:
FilePackageService

public class FilePackageServiceImpl
extends java.lang.Object
implements FilePackageService

this by Steve Androulakis - Tar archives the supplied directory, then compresses it using the bzip2 algorithm

Use method tarBzip(String sourceDir[, String destDir])

Version:
1.0
Author:
Steve Androulakis (Monash University)

Constructor Summary
FilePackageServiceImpl()
           
 
Method Summary
 void addDataFile(byte[] content, java.lang.String filename)
           
 byte[] tarBzip()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePackageServiceImpl

public FilePackageServiceImpl()
Method Detail

addDataFile

public void addDataFile(byte[] content,
                        java.lang.String filename)
                 throws java.lang.Exception
Throws:
java.lang.Exception

tarBzip

public byte[] tarBzip()
Specified by:
tarBzip in interface FilePackageService


Copyright © 2008-09 Monash University. All Rights Reserved.