org.jruby.util
Class JRubyNonExistentFile
java.lang.Object
java.io.File
org.jruby.util.JRubyFile
org.jruby.util.JRubyNonExistentFile
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<java.io.File>
public class JRubyNonExistentFile
- extends JRubyFile
- Author:
- nicksieger
- See Also:
- Serialized Form
Fields inherited from class java.io.File |
pathSeparator, pathSeparatorChar, separator, separatorChar |
Methods inherited from class java.io.File |
canExecute, canRead, canWrite, compareTo, createNewFile, delete, deleteOnExit, equals, getFreeSpace, getName, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isFile, isHidden, lastModified, length, list, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toURI, toURL |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getAbsolutePath
public java.lang.String getAbsolutePath()
- Overrides:
getAbsolutePath
in class JRubyFile
isDirectory
public boolean isDirectory()
- Overrides:
isDirectory
in class java.io.File
exists
public boolean exists()
- Overrides:
exists
in class java.io.File
getCanonicalPath
public java.lang.String getCanonicalPath()
throws java.io.IOException
- Overrides:
getCanonicalPath
in class JRubyFile
- Throws:
java.io.IOException
getPath
public java.lang.String getPath()
- Overrides:
getPath
in class JRubyFile
toString
public java.lang.String toString()
- Overrides:
toString
in class JRubyFile
getAbsoluteFile
public java.io.File getAbsoluteFile()
- Overrides:
getAbsoluteFile
in class JRubyFile
getCanonicalFile
public java.io.File getCanonicalFile()
throws java.io.IOException
- Overrides:
getCanonicalFile
in class JRubyFile
- Throws:
java.io.IOException
getParent
public java.lang.String getParent()
- Overrides:
getParent
in class JRubyFile
getParentFile
public java.io.File getParentFile()
- Overrides:
getParentFile
in class JRubyFile
listRoots
public static java.io.File[] listRoots()
createTempFile
public static java.io.File createTempFile(java.lang.String prefix,
java.lang.String suffix,
java.io.File directory)
throws java.io.IOException
- Throws:
java.io.IOException
createTempFile
public static java.io.File createTempFile(java.lang.String prefix,
java.lang.String suffix)
throws java.io.IOException
- Throws:
java.io.IOException
list
public java.lang.String[] list(java.io.FilenameFilter filter)
- Overrides:
list
in class JRubyFile
listFiles
public java.io.File[] listFiles()
- Overrides:
listFiles
in class JRubyFile
listFiles
public java.io.File[] listFiles(java.io.FileFilter filter)
- Overrides:
listFiles
in class JRubyFile
listFiles
public java.io.File[] listFiles(java.io.FilenameFilter filter)
- Overrides:
listFiles
in class JRubyFile
Copyright © 2002-2007 JRuby Team. All Rights Reserved.