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=8.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.String
assemblyFullName
Fully assembly qualified name: System.Formats.Tar, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.String
assemblyShortName
Assembly name: System.Formats.Tarstatic java.lang.String
className
Qualified class name: System.Formats.Tar.TarEntrystatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TarEntry
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTarEntry
, a cast assert is made to check if types are compatible.void
ExtractToFile(java.lang.String destinationFileName, boolean overwrite)
Task
ExtractToFileAsync(java.lang.String destinationFileName, boolean overwrite, CancellationToken cancellationToken)
int
getChecksum()
Stream
getDataStream()
TarEntryType
getEntryType()
TarEntryFormat
getFormat()
int
getGid()
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 Typelong
getLength()
java.lang.String
getLinkName()
UnixFileMode
getMode()
DateTimeOffset
getModificationTime()
java.lang.String
getName()
int
getUid()
void
setDataStream(Stream DataStream)
void
setGid(int Gid)
void
setJCOInstance(JCObject instance)
void
setLinkName(java.lang.String LinkName)
void
setMode(UnixFileMode Mode)
void
setModificationTime(DateTimeOffset ModificationTime)
void
setName(java.lang.String Name)
void
setUid(int Uid)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Formats.Tar, Version=8.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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- 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 classNetObject
- 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 classNetObject
- 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 classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TarEntry cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTarEntry
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TarEntry
instance- 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, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, IOException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
CultureNotFoundException
IOException
-
ExtractToFile
public void ExtractToFile(java.lang.String destinationFileName, boolean overwrite) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, IOException, SerializationException, ObjectDisposedException
-
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
-
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, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, 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, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
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.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
-
-