Sdílet prostřednictvím


PropertyResourceBundle Constructors

Definition

Overloads

PropertyResourceBundle(Reader)

Creates a property resource bundle from a java.io.Reader Reader.

PropertyResourceBundle(Stream)

Creates a property resource bundle from an java.io.InputStream InputStream.

PropertyResourceBundle(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

PropertyResourceBundle(Reader)

Creates a property resource bundle from a java.io.Reader Reader.

[Android.Runtime.Register(".ctor", "(Ljava/io/Reader;)V", "")]
public PropertyResourceBundle (Java.IO.Reader? reader);
[<Android.Runtime.Register(".ctor", "(Ljava/io/Reader;)V", "")>]
new Java.Util.PropertyResourceBundle : Java.IO.Reader -> Java.Util.PropertyResourceBundle

Parameters

reader
Reader

a Reader that represents a property file to read from.

Attributes

Exceptions

Remarks

Creates a property resource bundle from a java.io.Reader Reader. Unlike the constructor #PropertyResourceBundle(java.io.InputStream) PropertyResourceBundle(InputStream), there is no limitation as to the encoding of the input property file.

Added in 1.6.

Java documentation for java.util.PropertyResourceBundle.PropertyResourceBundle(java.io.Reader).

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

PropertyResourceBundle(Stream)

Creates a property resource bundle from an java.io.InputStream InputStream.

[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")]
public PropertyResourceBundle (System.IO.Stream? stream);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")>]
new Java.Util.PropertyResourceBundle : System.IO.Stream -> Java.Util.PropertyResourceBundle

Parameters

stream
Stream

an InputStream that represents a property file to read from.

Attributes

Exceptions

if an error occurs during a read operation on the InputStream.

Remarks

Creates a property resource bundle from an java.io.InputStream InputStream. The property file read with this constructor must be encoded in ISO-8859-1.

Java documentation for java.util.PropertyResourceBundle.PropertyResourceBundle(java.io.InputStream).

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

PropertyResourceBundle(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected PropertyResourceBundle (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.PropertyResourceBundle : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.PropertyResourceBundle

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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