protected static class Blob.InMemoryBackend extends Blob.Backend
Modifier | Constructor and Description |
---|---|
protected |
InMemoryBackend(byte[] bytes,
String fileName,
String type,
long lastModified) |
Modifier and Type | Method and Description |
---|---|
protected static Blob.InMemoryBackend |
create(org.htmlunit.corejs.javascript.NativeArray fileBits,
String fileName,
String type,
long lastModified) |
byte[] |
getBytes(int start,
int end) |
File |
getFile() |
long |
getLastModified() |
String |
getName() |
long |
getSize() |
String |
getText() |
String |
getType(BrowserVersion browserVersion) |
protected static Blob.InMemoryBackend create(org.htmlunit.corejs.javascript.NativeArray fileBits, String fileName, String type, long lastModified)
public String getName()
public long getLastModified()
public long getSize()
public String getType(BrowserVersion browserVersion)
public String getText() throws IOException
IOException
public File getFile()
public byte[] getBytes(int start, int end)
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.