public class PrintQueueStream extends Stream
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Printing.PrintQueueStream
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: System.Printing
|
static java.lang.String |
className
Qualified class name: System.Printing.PrintQueueStream
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PrintQueueStream() |
PrintQueueStream(java.lang.Object instance)
Internal constructor.
|
PrintQueueStream(PrintQueue printQueue,
java.lang.String printJobName) |
PrintQueueStream(PrintQueue printQueue,
java.lang.String printJobName,
boolean commitDataOnClose) |
PrintQueueStream(PrintQueue printQueue,
java.lang.String printJobName,
boolean commitDataOnClose,
PrintTicket printTicket) |
| Modifier and Type | Method and Description |
|---|---|
IAsyncResult |
BeginWrite(byte[] buffer,
int offset,
int count,
AsyncCallback callback,
NetObject state) |
IAsyncResult |
BeginWrite(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4) |
static PrintQueueStream |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PrintQueueStream, a cast assert is made to check if types are compatible. |
void |
Close() |
void |
EndWrite(IAsyncResult asyncResult) |
void |
Flush() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getJobIdentifier() |
void |
HandlePackagingProgressEvent(NetObject sender,
PackagingProgressEventArgs e) |
int |
Read(byte[] buffer,
int offset,
int count) |
int |
Read(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
long |
Seek(long offset,
SeekOrigin origin) |
void |
setJCOInstance(JCObject instance) |
void |
SetLength(long value) |
void |
Write(byte[] buffer,
int offset,
int count) |
void |
Write(JCORefOut dupParam0,
int dupParam1,
int dupParam2) |
BeginRead, BeginRead, close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, EndRead, FlushAsync, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadByte, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsync, WriteAsync, WriteAsync, WriteByteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PrintQueueStream()
throws java.lang.Throwable
java.lang.Throwablepublic PrintQueueStream(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic PrintQueueStream(PrintQueue printQueue, java.lang.String printJobName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, CultureNotFoundException, NotSupportedException, PathTooLongException, DllNotFoundException, IOException
public PrintQueueStream(PrintQueue printQueue, java.lang.String printJobName, boolean commitDataOnClose) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, CultureNotFoundException, NotSupportedException, PathTooLongException, DllNotFoundException, IOException
public PrintQueueStream(PrintQueue printQueue, java.lang.String printJobName, boolean commitDataOnClose, PrintTicket printTicket) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, CultureNotFoundException, NotSupportedException, PathTooLongException, DllNotFoundException, IOException
public IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, OutOfMemoryException, WaitHandleCannotBeOpenedException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, NullReferenceException
BeginWrite in class Streamjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidOperationExceptionOutOfMemoryExceptionWaitHandleCannotBeOpenedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNullReferenceExceptionpublic IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, OutOfMemoryException, WaitHandleCannotBeOpenedException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, NullReferenceException
BeginWrite in class Streamjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidOperationExceptionOutOfMemoryExceptionWaitHandleCannotBeOpenedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNullReferenceExceptionpublic static PrintQueueStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PrintQueueStream, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPrintQueueStream instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
Win32Exception,
InvalidOperationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
ArgumentOutOfRangeException
Close in class Streamjava.lang.ThrowableArgumentExceptionArgumentNullExceptionWin32ExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionpublic void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException
EndWrite in class Streamjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionAbandonedMutexExceptionpublic void Flush()
throws java.lang.Throwable
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class StreamString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class StreamString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class StreamObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class StreamString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class StreamJCType representing the CLR Type of the instantiated Classpublic int getJobIdentifier()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidEnumArgumentException,
Win32Exception,
InvalidOperationException,
NotImplementedException
public void HandlePackagingProgressEvent(NetObject sender, PackagingProgressEventArgs e) throws java.lang.Throwable, ArgumentException, ArgumentNullException, Win32Exception, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, OutOfMemoryException
public int Read(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable
java.lang.Throwablepublic int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
public long Seek(long offset,
SeekOrigin origin)
throws java.lang.Throwable
public void setJCOInstance(JCObject instance)
setJCOInstance in class Streampublic void SetLength(long value)
throws java.lang.Throwable,
NotSupportedException
SetLength in class Streamjava.lang.ThrowableNotSupportedExceptionpublic void Write(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidEnumArgumentException,
Win32Exception,
InvalidOperationException,
NotImplementedException,
CultureNotFoundException
Write in class Streamjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidOperationExceptionNotImplementedExceptionCultureNotFoundExceptionpublic void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, NotImplementedException, CultureNotFoundException
Write in class Streamjava.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidOperationExceptionNotImplementedExceptionCultureNotFoundException