Package system.printing
Class PrintQueueStream
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.io.Stream
-
- system.printing.PrintQueueStream
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class PrintQueueStream extends Stream
The base .NET class managing System.Printing.PrintQueueStream, System.Printing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Printing.PrintQueueStream
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Printing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.String
assemblyShortName
Assembly name: System.Printingstatic java.lang.String
className
Qualified class name: System.Printing.PrintQueueStreamstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 theIJCOBridgeReflected
instance intoPrintQueueStream
, 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 namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
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)
-
Methods inherited from class system.io.Stream
BeginRead, BeginRead, close, CopyTo, CopyTo, CopyToAsync, CopyToAsync, CopyToAsync, CopyToAsync, Dispose, DisposeAsync, EndRead, FlushAsync, FlushAsync, getCanRead, getCanSeek, getCanTimeout, getCanWrite, getLength, getPosition, getReadTimeout, getWriteTimeout, ReadByte, ReadExactly, ReadExactly, ReadExactlyAsync, ReadExactlyAsync, setPosition, setReadTimeout, setWriteTimeout, Synchronized, WriteAsync, WriteAsync, WriteAsync, WriteAsync, WriteByte
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Printing, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Printing- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Printing.PrintQueueStream- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PrintQueueStream
public PrintQueueStream(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
PrintQueueStream
public PrintQueueStream() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
PrintQueueStream
public 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
-
PrintQueueStream
public 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
-
PrintQueueStream
public PrintQueueStream(PrintQueue printQueue, java.lang.String printJobName) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, CultureNotFoundException, SecurityException, IOException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classStream
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classStream
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classStream
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classStream
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classStream
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classStream
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static PrintQueueStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoPrintQueueStream
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
PrintQueueStream
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Read
public int Read(byte[] buffer, int offset, int count) throws java.lang.Throwable
-
Read
public int Read(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable
-
Seek
public long Seek(long offset, SeekOrigin origin) throws java.lang.Throwable
-
BeginWrite
public 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
- Overrides:
BeginWrite
in classStream
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
ArgumentNullException
ObjectDisposedException
MissingMethodException
TargetInvocationException
WaitHandleCannotBeOpenedException
OutOfMemoryException
-
BeginWrite
public 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
- Overrides:
BeginWrite
in classStream
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
ArgumentNullException
ObjectDisposedException
MissingMethodException
TargetInvocationException
WaitHandleCannotBeOpenedException
OutOfMemoryException
-
Close
public void Close() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, Win32Exception, ObjectDisposedException, PlatformNotSupportedException
- Overrides:
Close
in classStream
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
InvalidOperationException
Win32Exception
ObjectDisposedException
PlatformNotSupportedException
-
EndWrite
public void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Overrides:
EndWrite
in classStream
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
Flush
public void Flush() throws java.lang.Throwable
-
HandlePackagingProgressEvent
public void HandlePackagingProgressEvent(NetObject sender, PackagingProgressEventArgs e) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
SetLength
public void SetLength(long value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
- Overrides:
SetLength
in classStream
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
-
Write
public void Write(byte[] buffer, int offset, int count) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, ObjectDisposedException
- Overrides:
Write
in classStream
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
ArgumentNullException
ObjectDisposedException
-
Write
public void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, ArgumentNullException, ObjectDisposedException
- Overrides:
Write
in classStream
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
RankException
ArrayTypeMismatchException
InvalidOperationException
InvalidEnumArgumentException
Win32Exception
ArgumentNullException
ObjectDisposedException
-
getJobIdentifier
public int getJobIdentifier() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-