ByteContentStreamSource
محتويات
[
يخفي
]Inheritance: java.lang.Object, com.aspose.font.StreamSource
public class ByteContentStreamSource extends StreamSource
يمثل مصدر تدفق يعتمد على تدفق _content.
المنشئات
| منشئ | الوصف |
|---|---|
| ByteContentStreamSource(byte[] fileContent) | يقوم بتهيئة كائن ByteContentStreamSource جديد. |
الطرق
| طريقة | الوصف |
|---|---|
| deepClone() | ينسخ كائن ByteContentStreamSource. |
| equals(Object arg0) | |
| getClass() | |
| getFontStream() | يعيد تدفق ملف الخط. |
| getOffset() | يحصل على الإزاحة داخل المصدر. |
| hashCode() | |
| mustCloseAfterUse() | قد يمنع الورثة إغلاق الدفق. |
| notify() | |
| notifyAll() | |
| setOffset(long value) | يضبط الإزاحة داخل المصدر. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
ByteContentStreamSource(byte[] fileContent)
public ByteContentStreamSource(byte[] fileContent)
يقوم بتهيئة كائن ByteContentStreamSource جديد.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| fileContent | byte[] | بايتات الملف. |
deepClone()
public Object deepClone()
ينسخ كائن ByteContentStreamSource.
Returns: java.lang.Object
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getFontStream()
public InputStream getFontStream()
يعيد تدفق ملف الخط. لا تنس إغلاق التدفق بعد الاستخدام.
Returns: java.io.InputStream - تدفق ملف الخط.
getOffset()
public long getOffset()
يحصل على الإزاحة داخل المصدر.
Returns: long - الإزاحة داخل المصدر.
hashCode()
public native int hashCode()
Returns: int
mustCloseAfterUse()
public boolean mustCloseAfterUse()
قد يمنع الورثة إغلاق الدفق. يُعيد true إذا كان مصدر الدفق يرغب في إغلاق الدفق بعد الاستخدام. وإلا يُعيد false.
Returns: boolean - True إذا كان مصدر الدفق يرغب في إغلاق الدفق بعد الاستخدام، وإلا false.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setOffset(long value)
public void setOffset(long value)
يضبط الإزاحة داخل المصدر.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| القيمة | long | الإزاحة داخل المصدر. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| arg0 | long | |
| arg1 | int |