|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.representation.Variant
org.restlet.representation.RepresentationInfo
org.restlet.representation.Representation
org.restlet.representation.StreamRepresentation
org.restlet.representation.OutputRepresentation
fr.cnes.sitools.resources.order.representations.TarOutputRepresentation
public class TarOutputRepresentation
Representation used to create a tar or a tar.gz Archive from a List of
Reference pointing to some files
| Field Summary |
|---|
| Fields inherited from class org.restlet.representation.Representation |
|---|
UNKNOWN_SIZE |
| Constructor Summary | |
|---|---|
TarOutputRepresentation(java.util.List<org.restlet.data.Reference> referencesSource,
org.restlet.data.ClientInfo clientInfo,
org.restlet.Context context,
java.lang.String fileName,
boolean gzip)
Create a new TarOutputRepresentation |
|
TarOutputRepresentation(ListReferencesAPI refListAPI,
org.restlet.data.ClientInfo clientInfo,
org.restlet.Context context,
java.lang.String fileName,
boolean gzip)
TarOutputRepresentation |
|
| Method Summary | |
|---|---|
void |
write(java.io.OutputStream outputStream)
|
| Methods inherited from class org.restlet.representation.OutputRepresentation |
|---|
getStream |
| Methods inherited from class org.restlet.representation.StreamRepresentation |
|---|
getChannel, getReader, write, write |
| Methods inherited from class org.restlet.representation.Representation |
|---|
checkDigest, checkDigest, computeDigest, createEmpty, exhaust, getAvailableSize, getDigest, getDisposition, getDownloadName, getExpirationDate, getRange, getSize, getText, isAvailable, isDownloadable, isTransient, release, setAvailable, setDigest, setDisposition, setDownloadable, setDownloadName, setExpirationDate, setRange, setSize, setTransient |
| Methods inherited from class org.restlet.representation.RepresentationInfo |
|---|
getModificationDate, getTag, setModificationDate, setTag |
| Methods inherited from class org.restlet.representation.Variant |
|---|
createClientInfo, equals, getCharacterSet, getEncodings, getIdentifier, getLanguages, getLocationRef, getMediaType, includes, isCompatible, setCharacterSet, setEncodings, setIdentifier, setIdentifier, setLanguages, setLocationRef, setLocationRef, setMediaType, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TarOutputRepresentation(java.util.List<org.restlet.data.Reference> referencesSource,
org.restlet.data.ClientInfo clientInfo,
org.restlet.Context context,
java.lang.String fileName,
boolean gzip)
TarOutputRepresentation
referencesSource - the list of Reference pointing the file to add to the zip
archiveclientInfo - the clientInfo of the current usercontext - the Context * @param fileName the complete fileName with extensiongzip - Whether or not to use gzip compression on the tar
public TarOutputRepresentation(ListReferencesAPI refListAPI,
org.restlet.data.ClientInfo clientInfo,
org.restlet.Context context,
java.lang.String fileName,
boolean gzip)
refListAPI - clientInfo - context - fileName - gzip - | Method Detail |
|---|
public void write(java.io.OutputStream outputStream)
throws java.io.IOException
write in class org.restlet.representation.Representationjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||