|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jfig.utils.MakeZipFile
Field Summary | |
(package private) java.util.Vector |
allFiles
|
(package private) java.io.File |
baseDir
|
(package private) java.util.Vector |
figFiles
|
(package private) static java.lang.String[] |
filenames
|
(package private) java.lang.String[] |
fullfilenames
|
(package private) java.util.zip.ZipOutputStream |
ZOS
|
Constructor Summary | |
MakeZipFile()
|
Method Summary | |
void |
copyAllFilesFromZipArchive(java.lang.String filename)
copy all files from the JAR/ZIP archive "filename" to our ZipOutputStream. |
void |
createDefaultManifestEntry()
add a default META-INF/MANIFEST.MF manifest file with a Main-Class: jfig.gui.PresentationViewer attribute to our ZipOutputStream. |
void |
createJptEntry()
this method writes the list of all slides in this presentation into the file "00presentation.jpt", then adds this file to the ZipOutputStream. |
void |
findAndAddFiles_OLD(java.lang.String dirname)
|
void |
findAndAddFiles(java.lang.String dirname)
|
void |
findFigFiles()
|
void |
findFigFiles(java.io.File directory)
|
java.lang.String |
getRelativeFilename(java.io.File file)
|
static void |
main(java.lang.String[] args)
main: parse the command line arguments for output filename, slide directory, and pathname for the jfig presentation viewer class archive. |
void |
setBaseDir(java.io.File _dir)
|
static void |
usage()
print a usage message, then exit |
void |
writeFigFiles()
|
void |
writeZipEntry_OLD(java.lang.String filename)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.util.zip.ZipOutputStream ZOS
java.io.File baseDir
java.util.Vector figFiles
java.util.Vector allFiles
static java.lang.String[] filenames
java.lang.String[] fullfilenames
Constructor Detail |
public MakeZipFile()
Method Detail |
public void setBaseDir(java.io.File _dir)
public void findFigFiles() throws java.lang.Exception
java.lang.Exception
public void findFigFiles(java.io.File directory) throws java.lang.Exception
java.lang.Exception
public void findAndAddFiles(java.lang.String dirname) throws java.lang.Exception
java.lang.Exception
public void findAndAddFiles_OLD(java.lang.String dirname) throws java.lang.Exception
java.lang.Exception
public void writeZipEntry_OLD(java.lang.String filename) throws java.io.IOException
java.io.IOException
public void writeFigFiles() throws java.lang.Exception
java.lang.Exception
public java.lang.String getRelativeFilename(java.io.File file)
public void createJptEntry() throws java.lang.Exception
java.lang.Exception
public void copyAllFilesFromZipArchive(java.lang.String filename) throws java.io.IOException
java.io.IOException
public void createDefaultManifestEntry() throws java.io.IOException
java.io.IOException
public static void usage()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |