TarFile class
A file entry decoded by TarDecoder.
Constructors
- TarFile()
- TarFile.read(InputStream input, {bool storeData = true, Encoding? encoding, int? size})
-
Reads an entry from
input.sizeis the size given by a preceding PAX header, which overrides the one in this entry's own header.
Properties
- checksum ↔ int
-
getter/setter pair
- content ↔ FileContent?
-
getter/setter pair
- contentBytes ↔ Uint8List?
-
getter/setter pair
- deviceMajorNumber ↔ int
-
getter/setter pair
- deviceMinorNumber ↔ int
-
getter/setter pair
- filename ↔ String
-
getter/setter pair
- filenamePrefix ↔ String
-
getter/setter pair
- fileSize ↔ int
-
getter/setter pair
- groupId ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFile → bool
-
no setter
- isSymLink → bool
-
no setter
- lastModTime ↔ int
-
getter/setter pair
- mode ↔ int
-
getter/setter pair
- nameOfLinkedFile ↔ String?
-
getter/setter pair
- ownerGroupName ↔ String
-
getter/setter pair
- ownerId ↔ int
-
getter/setter pair
- ownerUserName ↔ String
-
getter/setter pair
- rawContent → InputStream?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
no setter
- typeFlag ↔ String
-
getter/setter pair
- ustarIndicator ↔ String
-
getter/setter pair
- ustarVersion ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
write(
OutputStream output, {Encoding? filenameEncoder}) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- blockSpec → const String
- charSpec → const String
- contFile → const String
- directory → const String
- exHeader → const String
- exHeader2 → const String
- fifo → const String
- gExHeader → const String
- gExHeader2 → const String
- hardLink → const String
- longLinkName → const String
- longName → const String
- maxNumericField → const int
- The widest magnitude a base-256 numeric header field is written or read with: 2^53-1, the largest integer exact on every platform. A tar field can hold more, but it would not survive the trip through an int.
- normalFile → const String
- symbolicLink → const String