|
||||||||||
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.ZipOutputRepresentation
public class ZipOutputRepresentation
Representation used to create a Zip Archive from a List of Reference
pointing to some files
Field Summary |
---|
Fields inherited from class org.restlet.representation.Representation |
---|
UNKNOWN_SIZE |
Constructor Summary | |
---|---|
ZipOutputRepresentation(java.util.List<org.restlet.data.Reference> referencesSource,
org.restlet.data.ClientInfo clientInfo,
org.restlet.Context context,
java.lang.String fileName)
Create a new ZipOutputRepresentation |
|
ZipOutputRepresentation(ListReferencesAPI refListAPI,
org.restlet.data.ClientInfo clientInfo,
org.restlet.Context context,
java.lang.String fileName)
|
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 ZipOutputRepresentation(java.util.List<org.restlet.data.Reference> referencesSource, org.restlet.data.ClientInfo clientInfo, org.restlet.Context context, java.lang.String fileName)
ZipOutputRepresentation
referencesSource
- the list of Reference
pointing the file to add to the zip
archiveclientInfo
- the clientInfo of the current usercontext
- the ContextfileName
- the complete fileName with extensionpublic ZipOutputRepresentation(ListReferencesAPI refListAPI, org.restlet.data.ClientInfo clientInfo, org.restlet.Context context, java.lang.String fileName)
refListAPI
- clientInfo
- context
- fileName
- Method Detail |
---|
public void write(java.io.OutputStream outputStream) throws java.io.IOException
write
in class org.restlet.representation.Representation
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |