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=4.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.StringassemblyFullNameFully assembly qualified name: System.Printing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: System.Printingstatic java.lang.StringclassNameQualified class name: System.Printing.PrintQueueStreamstatic JCTypeclassTypeThe 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 IAsyncResultBeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, NetObject state)IAsyncResultBeginWrite(JCORefOut dupParam0, int dupParam1, int dupParam2, AsyncCallback dupParam3, NetObject dupParam4)static PrintQueueStreamcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoPrintQueueStream, a cast assert is made to check if types are compatible.voidClose()voidEndWrite(IAsyncResult asyncResult)voidFlush()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintgetJobIdentifier()voidHandlePackagingProgressEvent(NetObject sender, PackagingProgressEventArgs e)intRead(byte[] buffer, int offset, int count)intRead(JCORefOut dupParam0, int dupParam1, int dupParam2)longSeek(long offset, SeekOrigin origin)voidsetJCOInstance(JCObject instance)voidSetLength(long value)voidWrite(byte[] buffer, int offset, int count)voidWrite(JCORefOut dupParam0, int dupParam1, int dupParam2)-
Methods inherited from class system.io.Stream
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, WriteByte
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Printing, Version=4.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.ThrowableInternal 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) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, CultureNotFoundException, NotSupportedException, PathTooLongException, DllNotFoundException, IOException
-
PrintQueueStream
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
-
PrintQueueStream
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
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classStream- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classStream- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classStream- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classStream- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classStream
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classStream- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static PrintQueueStream cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoPrintQueueStream, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
PrintQueueStreaminstance- 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- 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, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, OutOfMemoryException, WaitHandleCannotBeOpenedException, NotSupportedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SecurityException, NullReferenceException
- Overrides:
BeginWritein classStream- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidOperationExceptionOutOfMemoryExceptionWaitHandleCannotBeOpenedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNullReferenceException
-
BeginWrite
public 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
- Overrides:
BeginWritein classStream- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidOperationExceptionOutOfMemoryExceptionWaitHandleCannotBeOpenedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSecurityExceptionNullReferenceException
-
Close
public void Close() throws java.lang.Throwable, ArgumentException, ArgumentNullException, Win32Exception, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException- Overrides:
Closein classStream- Throws:
java.lang.ThrowableArgumentExceptionArgumentNullExceptionWin32ExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeException
-
EndWrite
public void EndWrite(IAsyncResult asyncResult) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException
- Overrides:
EndWritein classStream- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidOperationExceptionOutOfMemoryExceptionObjectDisposedExceptionAbandonedMutexException
-
Flush
public void Flush() throws java.lang.Throwable
-
HandlePackagingProgressEvent
public void HandlePackagingProgressEvent(NetObject sender, PackagingProgressEventArgs e) throws java.lang.Throwable, ArgumentException, ArgumentNullException, Win32Exception, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, OutOfMemoryException
-
SetLength
public void SetLength(long value) throws java.lang.Throwable, NotSupportedException- Overrides:
SetLengthin classStream- Throws:
java.lang.ThrowableNotSupportedException
-
Write
public void Write(byte[] buffer, int offset, int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, NotImplementedException, CultureNotFoundException- Overrides:
Writein classStream- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidOperationExceptionNotImplementedExceptionCultureNotFoundException
-
Write
public void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, NotImplementedException, CultureNotFoundException
- Overrides:
Writein classStream- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidOperationExceptionNotImplementedExceptionCultureNotFoundException
-
getJobIdentifier
public int getJobIdentifier() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, InvalidOperationException, NotImplementedException
-
-