public class PrintQueueStream extends Stream
.NET documentation at https://learn.microsoft.com/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=9.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)
Initializes a new instance by invoking the .NET constructor.
|
PrintQueueStream(PrintQueue printQueue,
java.lang.String printJobName,
boolean commitDataOnClose)
Initializes a new instance by invoking the .NET constructor.
|
PrintQueueStream(PrintQueue printQueue,
java.lang.String printJobName,
boolean commitDataOnClose,
PrintTicket printTicket)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IAsyncResult |
BeginWrite(byte[] buffer,
int offset,
int count,
AsyncCallback callback,
NetObject state)
Invokes the .NET member BeginWrite.
|
IAsyncResult |
BeginWrite(JCORefOut dupParam0,
int dupParam1,
int dupParam2,
AsyncCallback dupParam3,
NetObject dupParam4)
Invokes the .NET member BeginWrite.
|
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()
Invokes the .NET member Close.
|
void |
EndWrite(IAsyncResult asyncResult)
Invokes the .NET member EndWrite.
|
void |
Flush()
Invokes the .NET member Flush.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getJobIdentifier()
Gets the value of the .NET property JobIdentifier.
|
void |
HandlePackagingProgressEvent(NetObject sender,
PackagingProgressEventArgs e)
Invokes the .NET member HandlePackagingProgressEvent.
|
int |
Read(byte[] buffer,
int offset,
int count)
Invokes the .NET member Read.
|
int |
Read(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member Read.
|
long |
Seek(long offset,
SeekOrigin origin)
Invokes the .NET member Seek.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetLength(long value)
Invokes the .NET member SetLength.
|
void |
Write(byte[] buffer,
int offset,
int count)
Invokes the .NET member Write.
|
void |
Write(JCORefOut dupParam0,
int dupParam1,
int dupParam2)
Invokes the .NET member Write.
|
BeginRead, BeginRead, close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, DisposeAsync, EndRead, FlushAsync, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadAsync, ReadAsync, ReadAsync, ReadAsync, ReadAsync, ReadAtLeastAsync, ReadByte, ReadExactly, ReadExactly, ReadExactlyAsync, ReadExactlyAsync, ReadExactlyAsync, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsync, WriteAsync, WriteAsync, WriteAsync, WriteByteGetLifetimeService, 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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic PrintQueueStream(PrintQueue printQueue, java.lang.String printJobName) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, CultureNotFoundException, SecurityException, IOException
printQueue - the argument of type PrintQueueprintJobName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itpublic PrintQueueStream(PrintQueue printQueue, java.lang.String printJobName, boolean commitDataOnClose) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, CultureNotFoundException, SecurityException, IOException
printQueue - the argument of type PrintQueueprintJobName - the argument of type java.lang.StringcommitDataOnClose - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itpublic PrintQueueStream(PrintQueue printQueue, java.lang.String printJobName, boolean commitDataOnClose, PrintTicket printTicket) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, CultureNotFoundException, SecurityException, IOException
printQueue - the argument of type PrintQueueprintJobName - the argument of type java.lang.StringcommitDataOnClose - the argument of type booleanprintTicket - the argument of type PrintTicketjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itpublic IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, ObjectDisposedException, MissingMethodException, TargetInvocationException, WaitHandleCannotBeOpenedException, OutOfMemoryException
BeginWrite in class Streambuffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intcallback - the argument of type AsyncCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic IAsyncResult BeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, ObjectDisposedException, MissingMethodException, TargetInvocationException, WaitHandleCannotBeOpenedException, OutOfMemoryException
BeginWrite in class StreamdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intdupParam3 - the argument of type AsyncCallbackdupParam4 - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic 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,
ArgumentOutOfRangeException,
InvalidOperationException,
Win32Exception,
ObjectDisposedException,
PlatformNotSupportedException
Close in class Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itObjectDisposedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
EndWrite in class StreamasyncResult - the argument of type IAsyncResultjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic void Flush()
throws java.lang.Throwable
Flush in class Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Streampublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Streampublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Streamnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Streampublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Streampublic int getJobIdentifier()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void HandlePackagingProgressEvent(NetObject sender, PackagingProgressEventArgs e) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
sender - the argument of type NetObjecte - the argument of type PackagingProgressEventArgsjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic int Read(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable
Read in class Streambuffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
Read in class StreamdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic long Seek(long offset,
SeekOrigin origin)
throws java.lang.Throwable
Seek in class Streamoffset - the argument of type longorigin - the argument of type SeekOriginjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Streaminstance - the new underlying objectpublic void SetLength(long value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException
SetLength in class Streamvalue - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Write(byte[] buffer,
int offset,
int count)
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
ArgumentNullException,
ObjectDisposedException
Write in class Streambuffer - the argument of type byte[]offset - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, ObjectDisposedException
Write in class StreamdupParam0 - the argument of type JCORefOutdupParam1 - the argument of type intdupParam2 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises it