class JSFile extends java.lang.Object implements GenericFileInterface
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
fullName |
private java.lang.String |
name |
| Constructor and Description |
|---|
JSFile(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFullPath() |
java.lang.String |
getName() |
GenericFileInterface |
getParentAsFile() |
static java.lang.Object |
getURLContents(java.net.URL url,
byte[] outputBytes,
java.lang.String post)
Note that the JS equivalent passes back a javajs.util.SB
|
boolean |
isDirectory() |
long |
length() |
(package private) static GenericFileInterface |
newFile(java.lang.String name) |
static GenericFileInterface newFile(java.lang.String name)
public GenericFileInterface getParentAsFile()
getParentAsFile in interface GenericFileInterfacepublic java.lang.String getFullPath()
getFullPath in interface GenericFileInterfacepublic java.lang.String getName()
getName in interface GenericFileInterfacepublic boolean isDirectory()
isDirectory in interface GenericFileInterfacepublic long length()
length in interface GenericFileInterfacepublic static java.lang.Object getURLContents(java.net.URL url,
byte[] outputBytes,
java.lang.String post)
url - outputBytes - post -