Udostępnij za pośrednictwem


JarEntry.RealName Property

Definition

Returns the real name of this JarEntry.

public virtual string? RealName { [Android.Runtime.Register("getRealName", "()Ljava/lang/String;", "GetGetRealNameHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getRealName", "()Ljava/lang/String;", "GetGetRealNameHandler", ApiSince=33)>]
member this.RealName : string

Property Value

the real name of the JarEntry

Attributes

Remarks

Returns the real name of this JarEntry.

If this JarEntry is an entry of a multi-release jar file and the JarFile is configured to be processed as such, the name returned by this method is the path name of the versioned entry that the JarEntry represents, rather than the path name of the base entry that #getName() returns. If the JarEntry does not represent a versioned entry of a multi-release JarFile or the JarFile is not configured for processing a multi-release jar file, this method returns the same name that #getName() returns.

Added in 10.

Java documentation for java.util.jar.JarEntry.getRealName().

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.

Applies to