Package org.jmol.awt
Class AwtFile
- java.lang.Object
-
- java.io.File
-
- org.jmol.awt.AwtFile
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<java.io.File>
,javajs.api.GenericFileInterface
class AwtFile extends java.io.File implements javajs.api.GenericFileInterface
a subclass of File allowing extension to JavaScript private to org.jmol.awt
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String[]
urlPrefixPairs
-
Constructor Summary
Constructors Constructor Description AwtFile(java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static java.lang.Object
getBufferedFileInputStream(java.lang.String name)
java.lang.String
getFullPath()
(package private) static java.lang.String
getLocalUrl(javajs.api.GenericFileInterface file)
javajs.api.GenericFileInterface
getParentAsFile()
(package private) static java.lang.Object
getURLContents(java.net.URL url, byte[] outputBytes, java.lang.String post)
-
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
-
-
-
-
Method Detail
-
getParentAsFile
public javajs.api.GenericFileInterface getParentAsFile()
- Specified by:
getParentAsFile
in interfacejavajs.api.GenericFileInterface
-
getBufferedFileInputStream
static java.lang.Object getBufferedFileInputStream(java.lang.String name)
-
getURLContents
static java.lang.Object getURLContents(java.net.URL url, byte[] outputBytes, java.lang.String post)
-
getFullPath
public java.lang.String getFullPath()
- Specified by:
getFullPath
in interfacejavajs.api.GenericFileInterface
-
getLocalUrl
static java.lang.String getLocalUrl(javajs.api.GenericFileInterface file)
-
-