hudson.util.io
Class ArchiverFactory

java.lang.Object
  extended by hudson.util.io.ArchiverFactory
All Implemented Interfaces:
Serializable

public abstract class ArchiverFactory
extends Object
implements Serializable

Creates Archiver on top of a stream.

Since:
1.359
Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Field Summary
static ArchiverFactory TAR
          Uncompressed tar format.
static ArchiverFactory TARGZ
          tar+gz
static ArchiverFactory ZIP
          Zip format.
 
Constructor Summary
ArchiverFactory()
           
 
Method Summary
abstract  Archiver create(OutputStream out)
          Creates an archiver on top of the given stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAR

public static ArchiverFactory TAR
Uncompressed tar format.


TARGZ

public static ArchiverFactory TARGZ
tar+gz


ZIP

public static ArchiverFactory ZIP
Zip format.

Constructor Detail

ArchiverFactory

public ArchiverFactory()
Method Detail

create

public abstract Archiver create(OutputStream out)
                         throws IOException
Creates an archiver on top of the given stream.

Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.