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:
getNamein classBlob.Backend
-
getLastModified
public long getLastModified()- Specified by:
getLastModifiedin classBlob.Backend
-
getSize
public long getSize()- Specified by:
getSizein classBlob.Backend
-
getType
- Specified by:
getTypein classBlob.Backend
-
getText
- Specified by:
getTextin classBlob.Backend- Throws:
IOException
-
getFile
- Specified by:
getFilein classBlob.Backend
-
getBytes
byte[] getBytes(int start, int end) - Specified by:
getBytesin classBlob.Backend
-