|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Packager
Interface for components that encode metadata, write manifests and bundle resources into archives.
| Method Summary | |
|---|---|
FileAndType |
getFileAndType(java.lang.String packageId,
java.lang.String filename)
|
java.lang.String |
getManifestName(DataPackage p)
Get the path of the manifest file inside the package. |
void |
transcodeAndSerialize(DataPackage pkg,
java.io.File destinationFile)
Transcode the metadata of package into the final manifest format, and archive (by an implementation specific method) the entire package contents into the destination file. |
| Method Detail |
|---|
void transcodeAndSerialize(DataPackage pkg,
java.io.File destinationFile)
throws java.io.IOException
pkg - destinationFile -
java.io.IOExceptionjava.lang.String getManifestName(DataPackage p)
p - the data package
FileAndType getFileAndType(java.lang.String packageId,
java.lang.String filename)
throws NotFoundException
packageId - filename -
NotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||