Class File.FileBackend
- java.lang.Object
-
- org.htmlunit.javascript.host.file.Blob.Backend
-
- org.htmlunit.javascript.host.file.File.FileBackend
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- File
private static class File.FileBackend extends Blob.Backend
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.Filefile_
-
Constructor Summary
Constructors Constructor Description FileBackend(java.lang.String pathname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) byte[]getBytes(int start, int end)java.io.FilegetFile()longgetLastModified()java.lang.StringgetName()longgetSize()java.lang.StringgetText()java.lang.StringgetType(BrowserVersion browserVersion)
-
-
-
Method Detail
-
getName
public java.lang.String 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
public java.lang.String getType(BrowserVersion browserVersion)
- Specified by:
getTypein classBlob.Backend
-
getText
public java.lang.String getText() throws java.io.IOException- Specified by:
getTextin classBlob.Backend- Throws:
java.io.IOException
-
getFile
public java.io.File getFile()
- Specified by:
getFilein classBlob.Backend
-
getBytes
byte[] getBytes(int start, int end)- Specified by:
getBytesin classBlob.Backend
-
-