Package org.jmol.awt
Class AwtFile
- java.lang.Object
-
- java.io.File
-
- org.jmol.awt.AwtFile
-
- All Implemented Interfaces:
Serializable
,Comparable<File>
,GenericFileInterface
class AwtFile extends File implements GenericFileInterface
a subclass of File allowing extension to JavaScript private to org.jmol.awt
-
-
Field Summary
Fields Modifier and Type Field Description private static String[]
urlPrefixPairs
-
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static Object
getBufferedFileInputStream(String name)
String
getFullPath()
(package private) static String
getLocalUrl(GenericFileInterface file)
GenericFileInterface
getParentAsFile()
(package private) static Object
getURLContents(URL url, byte[] outputBytes, 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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jmol.api.GenericFileInterface
getName, isDirectory, length
-
-
-
-
Field Detail
-
urlPrefixPairs
private static final String[] urlPrefixPairs
-
-
Constructor Detail
-
AwtFile
AwtFile(String name)
-
-
Method Detail
-
getParentAsFile
public GenericFileInterface getParentAsFile()
- Specified by:
getParentAsFile
in interfaceGenericFileInterface
-
getFullPath
public String getFullPath()
- Specified by:
getFullPath
in interfaceGenericFileInterface
-
getLocalUrl
static String getLocalUrl(GenericFileInterface file)
-
-