| java.lang.Object javax.swing.tree.DefaultMutableTreeNode tide.sources.LibFileItem
LibFileItem | public class LibFileItem extends DefaultMutableTreeNode implements FileItem(Code) | | Directories, files from all elements in class path. libraries and dirs.
(TODO: dirs support if wanted).
maybe source or classes, from dirs or jars.
display may be decompiled (jad) or bytecode (javap)
|
Inner Class :public static class LibFileRoot extends LibFileItem | |
Inner Class :public static class LibFileRootLOWMEM extends LibFileItem | |
Inner Class :static class LibDirRoot extends LibFileItem | |
decompiledContentOrSource | public String decompiledContentOrSource(Code) | | |
enforceDecompileInsteadOfViewingSource | public boolean enforceDecompileInsteadOfViewingSource(Code) | | |
LibFileItem | public LibFileItem(String name, String fullJavaName, String packageName)(Code) | | Used for directories and roots (where only name is set)
|
LibFileItem | public LibFileItem(String name, String fullJavaName, String packageName, ZipFile archive)(Code) | | Used for directories and roots (where only name is set)
|
deleteCachedContent | public void deleteCachedContent()(Code) | | data may be lost if not saved previously !
used to enforce reload from file !
|
getCaretColumnPosition | public int getCaretColumnPosition()(Code) | | |
getCaretLinePosition | public int getCaretLinePosition()(Code) | | |
getContent | public String getContent() throws Exception(Code) | | if has been previously decompiled, the decompiled content is returned.
(Set it to null to enforce normal display.)
If jad is set to default decompile classes, and correctly installed (path ok), classes content will be decompiled.
TODO: better ! choice between (jad, associated source, javap, bytecode, ??)
|
getFileSize | public long getFileSize()(Code) | | |
getHasBeenRemoved | public boolean getHasBeenRemoved()(Code) | | |
getJavaName | public String getJavaName()(Code) | | for directories and files
|
getJavaPartName | public String getJavaPartName()(Code) | | The node name or file name without ".java"
|
getLastModified | public long getLastModified()(Code) | | |
getName | public String getName()(Code) | | This is the node name only.
|
getRAWContentInputStream | public InputStream getRAWContentInputStream() throws Exception(Code) | | the content inputStream, maybe from a jar entry or file.null for directories.Used by the jad launcher. |
getRootArchiveName | public String getRootArchiveName()(Code) | | zip archive name (in the class path)
|
hasPackageDirectJavaChilds | public boolean hasPackageDirectJavaChilds()(Code) | | |
hasTextRepresentation | public boolean hasTextRepresentation()(Code) | | |
isClassFile | public boolean isClassFile()(Code) | | |
isDirectory | public boolean isDirectory()(Code) | | |
isEditable | public boolean isEditable()(Code) | | |
isIgnored | public boolean isIgnored()(Code) | | |
isJavaFile | public boolean isJavaFile()(Code) | | Either source or class file.
|
isSourceFile | public boolean isSourceFile()(Code) | | |
liberateResourcesForGC | public void liberateResourcesForGC()(Code) | | close files (Overridden below)
|
setCaretPositionToRemember | public void setCaretPositionToRemember(int line, int col)(Code) | | |
|
|