Package system.formats.tar
Class TarEntry
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.formats.tar.TarEntry
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
PosixTarEntry,V7TarEntry
public class TarEntry extends NetObject
The base .NET class managing System.Formats.Tar.TarEntry, System.Formats.Tar, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Formats.Tar.TarEntry
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.Formats.Tar, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.StringassemblyShortNameAssembly name: System.Formats.Tarstatic java.lang.StringclassNameQualified class name: System.Formats.Tar.TarEntrystatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TarEntrycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoTarEntry, a cast assert is made to check if types are compatible.voidExtractToFile(java.lang.String destinationFileName, boolean overwrite)TaskExtractToFileAsync(java.lang.String destinationFileName, boolean overwrite, CancellationToken cancellationToken)intgetChecksum()longgetDataOffset()StreamgetDataStream()TarEntryTypegetEntryType()TarEntryFormatgetFormat()intgetGid()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 TypelonggetLength()java.lang.StringgetLinkName()UnixFileModegetMode()DateTimeOffsetgetModificationTime()java.lang.StringgetName()intgetUid()voidsetDataStream(Stream DataStream)voidsetGid(int Gid)voidsetJCOInstance(JCObject instance)voidsetLinkName(java.lang.String LinkName)voidsetMode(UnixFileMode Mode)voidsetModificationTime(DateTimeOffset ModificationTime)voidsetName(java.lang.String Name)voidsetUid(int Uid)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Formats.Tar, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Formats.Tar- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Formats.Tar.TarEntry- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- 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 classNetObject- 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 classNetObject- 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 classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TarEntry cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTarEntry, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TarEntryinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ExtractToFileAsync
public Task ExtractToFileAsync(java.lang.String destinationFileName, boolean overwrite, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, IOException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionNullReferenceExceptionArgumentNullExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionIOException
-
ExtractToFile
public void ExtractToFile(java.lang.String destinationFileName, boolean overwrite) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, CultureNotFoundException, IOException, SerializationException, ObjectDisposedException, NullReferenceException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionCultureNotFoundExceptionIOExceptionSerializationExceptionObjectDisposedExceptionNullReferenceException
-
getChecksum
public int getChecksum() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getGid
public int getGid() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setGid
public void setGid(int Gid) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getUid
public int getUid() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUid
public void setUid(int Uid) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getDataOffset
public long getDataOffset() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getLength
public long getLength() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getModificationTime
public DateTimeOffset getModificationTime() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setModificationTime
public void setModificationTime(DateTimeOffset ModificationTime) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
getFormat
public TarEntryFormat getFormat() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEntryType
public TarEntryType getEntryType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDataStream
public Stream getDataStream() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataStream
public void setDataStream(Stream DataStream) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArrayTypeMismatchException, IOException
-
getMode
public UnixFileMode getMode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setMode
public void setMode(UnixFileMode Mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getLinkName
public java.lang.String getLinkName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setLinkName
public void setLinkName(java.lang.String LinkName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getName
public java.lang.String getName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullException
-
-