Class File.FileBackend
java.lang.Object
org.htmlunit.javascript.host.file.Blob.Backend
org.htmlunit.javascript.host.file.File.FileBackend
- All Implemented Interfaces:
Serializable
- Enclosing class:
File
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
file_
-
-
Constructor Details
-
FileBackend
FileBackend(String pathname)
-
-
Method Details
-
getName
- Specified by:
getName
in classBlob.Backend
-
getLastModified
public long getLastModified()- Specified by:
getLastModified
in classBlob.Backend
-
getSize
public long getSize()- Specified by:
getSize
in classBlob.Backend
-
getType
- Specified by:
getType
in classBlob.Backend
-
getText
- Specified by:
getText
in classBlob.Backend
- Throws:
IOException
-
getFile
- Specified by:
getFile
in classBlob.Backend
-
getBytes
byte[] getBytes(int start, int end) - Specified by:
getBytes
in classBlob.Backend
-