public abstract class CefPostDataElement
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
CefPostDataElement.Type
Post data elements may represent either bytes or files.
(发布数据元素可以表示字节或文件。)
|
限定符和类型 | 方法和说明 |
---|---|
static CefPostDataElement |
create()
Create a new CefPostDataElement object.
(创建一个新的CefPostDataElement对象。)
|
abstract void |
dispose()
Removes the native reference from an unused object.
(从未使用的对象中删除本机引用。)
|
protected void |
finalize() |
abstract int |
getBytes(int size, byte[] bytes)
Read up to size bytes into bytes and return the number of bytes actually read.
(读取最大大小为字节的字节,然后返回实际读取的字节数。)
|
abstract int |
getBytesCount()
Return the number of bytes.
(返回字节数。)
|
abstract java.lang.String |
getFile()
Return the file name.
(返回文件名。)
|
abstract CefPostDataElement.Type |
getType()
Return the type of this post data element.
(返回此发布数据元素的类型。)
|
abstract boolean |
isReadOnly()
Returns true if this object is read-only.
(如果此对象是只读的,则返回true。)
|
abstract void |
setToBytes(int size, byte[] bytes)
The post data element will represent bytes.
(post数据元素将表示字节。)
|
abstract void |
setToEmpty()
Remove all contents from the post data element.
(从发布数据元素中删除所有内容。)
|
abstract void |
setToFile(java.lang.String fileName)
The post data element will represent a file.
(post数据元素将代表一个文件。)
|
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.String mimeType) |
public static final CefPostDataElement create()
public abstract void dispose()
protected void finalize() throws java.lang.Throwable
finalize
在类中
java.lang.Object
java.lang.Throwable
public abstract int getBytes(int size, byte[] bytes)
public abstract int getBytesCount()
public abstract java.lang.String getFile()
public abstract CefPostDataElement.Type getType()
public abstract boolean isReadOnly()
public abstract void setToBytes(int size, byte[] bytes)
public abstract void setToEmpty()
public abstract void setToFile(java.lang.String fileName)
public java.lang.String toString()
toString
在类中
java.lang.Object
public java.lang.String toString(java.lang.String mimeType)