|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.doclets.internal.toolkit.util.SourcePath
public class SourcePath
This class is used to represent a source path which can contain only directories no zip files. If a zip file is specified in the command line it will not get reflected in the SourcePath. This code is not part of an API. It is implementation that is subject to change. Do not use it as an API
Field Summary | |
---|---|
private char |
dirSeparator
|
private java.lang.String |
pathstr
The original class path string |
private java.io.File[] |
sourcePath
List of source path entries. |
Constructor Summary | |
---|---|
SourcePath()
Build a default source path from the path strings specified by the properties env.class.path. |
|
SourcePath(java.lang.String pathstr)
Build a source path from the specified path string on the command line. |
Method Summary | |
---|---|
java.io.File |
getDirectory(java.lang.String name)
Find the specified directory in the source path. |
private void |
init(java.lang.String pathstr)
Initialize the SourcePath File array, which will contain only the directory names from the given path string. |
java.lang.String |
toString()
Return original source path string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final char dirSeparator
private java.lang.String pathstr
private java.io.File[] sourcePath
Constructor Detail |
---|
public SourcePath(java.lang.String pathstr)
public SourcePath()
Method Detail |
---|
private void init(java.lang.String pathstr)
pathstr
- Path String.public java.io.File getDirectory(java.lang.String name)
name
- Name of the directory to be searched for in the source path.
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |