public class PRFile
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
separator |
static char |
separatorChar |
static java.lang.String |
VERSION |
Constructor and Description |
---|
PRFile(PRFile aParent,
java.lang.String aChild) |
PRFile(java.lang.String aFileSpec) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead() |
boolean |
canWrite() |
static PRFile |
createTempDir(java.lang.String aNamePrefix,
java.lang.String aNameSuffix) |
static PRFile |
createTempDir(java.lang.String aNamePrefix,
java.lang.String aNameSuffix,
PRFile aInDirectory) |
static PRFile |
createTempFile(java.lang.String aNamePrefix,
java.lang.String aNameSuffix)
Deprecated.
Use com.pega.pegarules.pub.util.PRFile.createTempFile(String, String, PRFile)
|
static PRFile |
createTempFile(java.lang.String aNamePrefix,
java.lang.String aNameSuffix,
PRFile aInDirectory) |
boolean |
delete() |
boolean |
exists() |
PRFile |
getAbsoluteFile() |
java.lang.String |
getAbsolutePath() |
PRFile |
getCanonicalFile() |
java.lang.String |
getCanonicalPath() |
PRFile |
getChildFile(java.lang.String aChild) |
java.lang.String |
getName() |
java.lang.String |
getParent() |
PRFile |
getParentFile() |
boolean |
isDirectory() |
boolean |
isFile() |
long |
lastModified() |
long |
length() |
java.lang.String[] |
list() |
java.lang.String[] |
list(PRFilenameFilter aFilter) |
PRFile[] |
listFiles() |
PRFile[] |
listFiles(PRFilenameFilter aFilter) |
boolean |
mkdir() |
boolean |
mkdirs() |
boolean |
renameTo(PRFile aDest) |
boolean |
setLastModified(long time) |
java.lang.String |
toString() |
java.net.URL |
toURL() |
public static final java.lang.String COPYRIGHT
public static final java.lang.String VERSION
public static final char separatorChar
public static final java.lang.String separator
public PRFile(java.lang.String aFileSpec)
public PRFile(PRFile aParent, java.lang.String aChild)
public PRFile getChildFile(java.lang.String aChild)
public boolean canRead()
public boolean canWrite()
public boolean delete()
public boolean exists()
public PRFile getAbsoluteFile()
public java.lang.String getAbsolutePath()
public PRFile getCanonicalFile() throws java.io.IOException
java.io.IOException
public java.lang.String getCanonicalPath() throws java.io.IOException
java.io.IOException
public java.lang.String getName()
public java.lang.String getParent()
public PRFile getParentFile()
public boolean isDirectory()
public boolean isFile()
public long lastModified()
public boolean setLastModified(long time)
public long length()
public java.lang.String[] list()
public java.lang.String[] list(PRFilenameFilter aFilter)
public PRFile[] listFiles()
public PRFile[] listFiles(PRFilenameFilter aFilter)
public boolean mkdir()
public boolean mkdirs()
public boolean renameTo(PRFile aDest)
public static PRFile createTempDir(java.lang.String aNamePrefix, java.lang.String aNameSuffix) throws java.io.IOException
java.io.IOException
public static PRFile createTempDir(java.lang.String aNamePrefix, java.lang.String aNameSuffix, PRFile aInDirectory) throws java.io.IOException
java.io.IOException
public static PRFile createTempFile(java.lang.String aNamePrefix, java.lang.String aNameSuffix) throws java.io.IOException
aNamePrefix
- The file nameaNameSuffix
- extension of the filejava.io.IOException
public static PRFile createTempFile(java.lang.String aNamePrefix, java.lang.String aNameSuffix, PRFile aInDirectory) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public java.net.URL toURL() throws java.net.MalformedURLException
java.net.MalformedURLException
Copyright © 2015 Pegasystems Inc. All Rights Reserved.