|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.tool.JarWrapper.PreferredListWriter.DirNode
private class JarWrapper.PreferredListWriter.DirNode
Represents JAR-internal directory.
Field Summary | |
---|---|
(package private) List |
files
|
(package private) String |
path
|
(package private) int |
prefPackageLen
|
(package private) int |
prefSubtreeLen
|
(package private) List |
subdirs
|
(package private) int |
unprefPackageLen
|
(package private) int |
unprefSubtreeLen
|
Constructor Summary | |
---|---|
JarWrapper.PreferredListWriter.DirNode(String path)
|
Method Summary | |
---|---|
(package private) void |
compileList()
Computes minimal list length using dynamic programming. |
(package private) void |
writeDir(Writer w,
boolean contextPref)
Writes preferred list entries (if any) for this directory, which inherits the given preferred value as its default. |
(package private) void |
writeFiles(Writer w,
boolean contextPref)
Writes preferred list entries (if any) for files in this directory, which has the given preferred value as its default. |
(package private) void |
writeList(Writer w)
Writes preferred list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final String path
final List subdirs
final List files
int prefSubtreeLen
int prefPackageLen
int unprefSubtreeLen
int unprefPackageLen
Constructor Detail |
---|
JarWrapper.PreferredListWriter.DirNode(String path)
Method Detail |
---|
void compileList()
void writeList(Writer w) throws IOException
IOException
void writeDir(Writer w, boolean contextPref) throws IOException
IOException
void writeFiles(Writer w, boolean contextPref) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |