Sdílet prostřednictvím


Pack200.Packer Class

Definition

Caution

Use the 'Java.Util.Jar.Pack200.IPacker' type. This class will be removed in a future release.

The interface defining the API for converting a JAR file to an output stream in the Pack200 format.

[Android.Runtime.Register("java/util/jar/Pack200$Packer", DoNotGenerateAcw=true)]
[System.Obsolete("Use the 'Java.Util.Jar.Pack200.IPacker' type. This class will be removed in a future release.")]
public abstract class Pack200.Packer : Java.Lang.Object
[<Android.Runtime.Register("java/util/jar/Pack200$Packer", DoNotGenerateAcw=true)>]
[<System.Obsolete("Use the 'Java.Util.Jar.Pack200.IPacker' type. This class will be removed in a future release.")>]
type Pack200.Packer = class
    inherit Object
Inheritance
Pack200.Packer
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

ClassAttributePfx
Obsolete.

When concatenated with a class attribute name, indicates the format of that attribute, using the layout language specified in the JSR 200 specification.

CodeAttributePfx
Obsolete.

When concatenated with a code attribute name, indicates the format of that attribute.

DeflateHint
Obsolete.

If this property is set to #TRUE or #FALSE, the packer will set the deflation hint accordingly in the output archive, and will not transmit the individual deflation hints of archive elements.

Effort
Obsolete.

If this property is set to a single decimal digit, the packer will use the indicated amount of effort in compressing the archive.

Error
Obsolete.

The string "error", a possible value for certain properties.

False
Obsolete.

The string "false", a possible value for certain properties.

FieldAttributePfx
Obsolete.

When concatenated with a field attribute name, indicates the format of that attribute.

Keep
Obsolete.

The string "keep", a possible value for certain properties.

KeepFileOrder
Obsolete.

If this property is set to #TRUE, the packer will transmit all elements in their original order within the source archive.

Latest
Obsolete.

The string "latest", a possible value for certain properties.

MethodAttributePfx
Obsolete.

When concatenated with a method attribute name, indicates the format of that attribute.

ModificationTime
Obsolete.

If this property is set to the special string #LATEST, the packer will attempt to determine the latest modification time, among all the available entries in the original archive or the latest modification time of all the available entries in each segment.

Pass
Obsolete.

The string "pass", a possible value for certain properties.

PassFilePfx
Obsolete.

Indicates that a file should be passed through bytewise, with no compression.

Progress
Obsolete.

The unpacker's progress as a percentage, as periodically updated by the unpacker.

SegmentLimit
Obsolete.

This property is a numeral giving the estimated target size N (in bytes) of each archive segment.

Strip
Obsolete.

The string "strip", a possible value for certain properties.

True
Obsolete.

The string "true", a possible value for certain properties.

UnknownAttribute
Obsolete.

Indicates the action to take when a class-file containing an unknown attribute is encountered.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers (Inherited from Object)
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to