websphinx
Class SecurityPolicy
java.lang.Object
|
+--websphinx.SecurityPolicy
- Direct Known Subclasses:
- Netscape4Policy
- public class SecurityPolicy
- extends java.lang.Object
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
tempDir
private java.io.File tempDir
temps
private java.util.Vector temps
thePolicy
private static SecurityPolicy thePolicy
SecurityPolicy
public SecurityPolicy()
openConnection
public java.net.URLConnection openConnection(java.net.URL url)
throws java.io.IOException
openConnection
public java.net.URLConnection openConnection(Link link)
throws java.io.IOException
readFile
public java.io.InputStream readFile(java.io.File file)
throws java.io.IOException
writeFile
public java.io.OutputStream writeFile(java.io.File file,
boolean append)
throws java.io.IOException
readWriteFile
public java.io.RandomAccessFile readWriteFile(java.io.File file)
throws java.io.IOException
makeDir
public void makeDir(java.io.File file)
throws java.io.IOException
getTemporaryDirectory
public java.io.File getTemporaryDirectory()
makeTemporaryFile
public java.io.File makeTemporaryFile(java.lang.String basename,
java.lang.String extension)
deleteAllTempFiles
public void deleteAllTempFiles()
findPolicy
private static SecurityPolicy findPolicy()
getPolicy
public static SecurityPolicy getPolicy()