com.sun.tools.javac.file
Class FSInfo
java.lang.Object
com.sun.tools.javac.file.FSInfo
- Direct Known Subclasses:
- CacheFSInfo
public class FSInfo
- extends java.lang.Object
Get meta-info about files. Default direct (non-caching) implementation.
- See Also:
CacheFSInfo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSInfo
protected FSInfo()
FSInfo
protected FSInfo(Context context)
instance
public static FSInfo instance(Context context)
- Get the FSInfo instance for this context.
- Parameters:
context - the context
- Returns:
- the Paths instance for this context
getCanonicalFile
public java.io.File getCanonicalFile(java.io.File file)
exists
public boolean exists(java.io.File file)
isDirectory
public boolean isDirectory(java.io.File file)
isFile
public boolean isFile(java.io.File file)
getJarClassPath
public java.util.List<java.io.File> getJarClassPath(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException