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:

معاملنوعالوصف
fileContentbyte[]بايتات الملف.

deepClone()

public Object deepClone()

ينسخ كائن ByteContentStreamSource.

Returns: java.lang.Object

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

معاملنوعالوصف
arg0java.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:

معاملنوعالوصف
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

معاملنوعالوصف
arg0long
arg1int