public class CaseInsensitiveFile
extends java.lang.Object
This class has no SAFS dependencies and can be packaged independent of other SAFS classes.
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
ciFile |
Constructor and Description |
---|
CaseInsensitiveFile(CaseInsensitiveFile parent,
java.lang.String child) |
CaseInsensitiveFile(java.io.File parent,
java.lang.String child) |
CaseInsensitiveFile(java.lang.String pathname) |
CaseInsensitiveFile(java.lang.String parent,
java.lang.String child) |
CaseInsensitiveFile(java.net.URI uri) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead() |
boolean |
canWrite() |
int |
compareTo(java.io.File arg0) |
int |
compareTo(java.lang.Object arg0) |
boolean |
createNewFile() |
boolean |
delete() |
void |
deleteOnExit() |
boolean |
equals(java.lang.Object arg0) |
boolean |
exists() |
protected java.io.File |
findFileMP(java.lang.String rootpath,
java.lang.String afilename) |
java.io.File |
getAbsoluteFile() |
java.lang.String |
getAbsolutePath() |
java.io.File |
getCanonicalFile() |
java.lang.String |
getCanonicalPath() |
protected java.io.File |
getCaseInsensitiveFile(java.lang.String strFile) |
java.lang.String |
getName() |
java.lang.String |
getParent() |
java.io.File |
getParentFile() |
java.lang.String |
getPath() |
int |
hashCode() |
boolean |
isAbsolute() |
boolean |
isDirectory() |
boolean |
isFile() |
boolean |
isHidden() |
long |
lastModified() |
long |
length() |
java.lang.String[] |
list() |
java.lang.String[] |
list(java.io.FilenameFilter arg0) |
java.io.File[] |
listFiles() |
java.io.File[] |
listFiles(java.io.FileFilter arg0) |
java.io.File[] |
listFiles(java.io.FilenameFilter arg0) |
boolean |
mkdir() |
boolean |
mkdirs() |
boolean |
renameTo(java.io.File arg0) |
boolean |
setLastModified(long arg0) |
boolean |
setReadOnly() |
java.io.File |
toFile()
Method toFile.
|
java.lang.String |
toString() |
java.net.URI |
toURI() |
java.net.URL |
toURL() |
public CaseInsensitiveFile(java.lang.String pathname)
File.File(java.lang.String)
public CaseInsensitiveFile(java.lang.String parent, java.lang.String child)
File.File(java.lang.String, java.lang.String)
public CaseInsensitiveFile(java.io.File parent, java.lang.String child)
File.File(java.io.File, java.lang.String)
public CaseInsensitiveFile(CaseInsensitiveFile parent, java.lang.String child)
File.File(java.io.File, java.lang.String)
public CaseInsensitiveFile(java.net.URI uri)
Note that case insensitivity does not apply to URI
public java.io.File toFile()
protected java.io.File getCaseInsensitiveFile(java.lang.String strFile)
protected java.io.File findFileMP(java.lang.String rootpath, java.lang.String afilename)
public boolean canRead()
File.canRead()
public boolean canWrite()
File.canWrite()
public int compareTo(java.io.File arg0)
File.compareTo(java.io.File)
public int compareTo(java.lang.Object arg0)
Comparable.compareTo(java.lang.Object)
public boolean createNewFile() throws java.io.IOException
java.io.IOException
File.createNewFile()
public boolean delete()
File.delete()
public void deleteOnExit()
File.deleteOnExit()
public boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public boolean exists()
File.exists()
public java.io.File getAbsoluteFile()
File.getAbsoluteFile()
public java.lang.String getAbsolutePath()
File.getAbsolutePath()
public java.io.File getCanonicalFile() throws java.io.IOException
java.io.IOException
File.getCanonicalFile()
public java.lang.String getCanonicalPath() throws java.io.IOException
java.io.IOException
File.getCanonicalPath()
public java.lang.String getName()
File.getName()
public java.lang.String getParent()
File.getParent()
public java.io.File getParentFile()
File.getParentFile()
public java.lang.String getPath()
File.getPath()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean isAbsolute()
File.isAbsolute()
public boolean isDirectory()
File.isDirectory()
public boolean isFile()
File.isFile()
public boolean isHidden()
File.isHidden()
public long lastModified()
File.lastModified()
public long length()
File.length()
public java.lang.String[] list()
File.list()
public java.lang.String[] list(java.io.FilenameFilter arg0)
File.list(java.io.FilenameFilter)
public java.io.File[] listFiles()
File.listFiles()
public java.io.File[] listFiles(java.io.FileFilter arg0)
File.listFiles(java.io.FileFilter)
public java.io.File[] listFiles(java.io.FilenameFilter arg0)
File.listFiles(java.io.FilenameFilter)
public boolean mkdir()
File.mkdir()
public boolean mkdirs()
File.mkdirs()
public boolean renameTo(java.io.File arg0)
File.renameTo(java.io.File)
public boolean setLastModified(long arg0)
File.setLastModified(long)
public boolean setReadOnly()
File.setReadOnly()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.net.URI toURI()
File.toURI()
public java.net.URL toURL() throws java.net.MalformedURLException
java.net.MalformedURLException
File.toURL()
Copyright © SAS Institute. All Rights Reserved.