com.sun.tools.javac.file
Class FSInfo

java.lang.Object
  extended by 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

Constructor Summary
protected FSInfo()
           
protected FSInfo(Context context)
           
 
Method Summary
 boolean exists(java.io.File file)
           
 java.io.File getCanonicalFile(java.io.File file)
           
 java.util.List<java.io.File> getJarClassPath(java.io.File file)
           
static FSInfo instance(Context context)
          Get the FSInfo instance for this context.
 boolean isDirectory(java.io.File file)
           
 boolean isFile(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSInfo

protected FSInfo()

FSInfo

protected FSInfo(Context context)
Method Detail

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