Class Preferences
public class Preferences : JVMBridgeBase<Preferences>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Preferences>Preferences
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<Preferences>.SExecuteWithSignatureArray<T>(IJavaType, string, string, params object[])JVMBridgeBase<Preferences>.IsAssignableFrom(IJavaType)JVMBridgeBase<Preferences>.IsAssignableFrom<T>()JVMBridgeBase<Preferences>.Execute<T>(params T[])JVMBridgeBase<Preferences>.DynBridgeClazzJVMBridgeBase<Preferences>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Preferences()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Preferences class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Preferences()
Preferences(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("Preferences class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Preferences(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
MAX_KEY_LENGTH
public static int MAX_KEY_LENGTH { get; }
Property Value
MAX_NAME_LENGTH
public static int MAX_NAME_LENGTH { get; }
Property Value
MAX_VALUE_LENGTH
public static int MAX_VALUE_LENGTH { get; }
Property Value
Methods
AbsolutePath()
public String AbsolutePath()
Returns
AddNodeChangeListener(NodeChangeListener)
public void AddNodeChangeListener(NodeChangeListener arg0)
Parameters
AddPreferenceChangeListener(PreferenceChangeListener)
public void AddPreferenceChangeListener(PreferenceChangeListener arg0)
Parameters
ChildrenNames()
public String[] ChildrenNames()
Returns
Exceptions
Clear()
public void Clear()
Exceptions
ExportNode(OutputStream)
public void ExportNode(OutputStream arg0)
Parameters
arg0
OutputStream
Exceptions
ExportSubtree(OutputStream)
public void ExportSubtree(OutputStream arg0)
Parameters
arg0
OutputStream
Exceptions
Flush()
public void Flush()
Exceptions
Get(String, String)
public String Get(String arg0, String arg1)
Parameters
Returns
GetBoolean(String, bool)
public bool GetBoolean(String arg0, bool arg1)
Parameters
Returns
GetByteArray(String, byte[])
public byte[] GetByteArray(String arg0, byte[] arg1)
Parameters
Returns
GetDouble(String, double)
public double GetDouble(String arg0, double arg1)
Parameters
Returns
GetFloat(String, float)
public float GetFloat(String arg0, float arg1)
Parameters
Returns
GetInt(String, int)
public int GetInt(String arg0, int arg1)
Parameters
Returns
GetLong(String, long)
public long GetLong(String arg0, long arg1)
Parameters
Returns
ImportPreferences(InputStream)
public static void ImportPreferences(InputStream arg0)
Parameters
arg0
InputStream
Exceptions
IsUserNode()
public bool IsUserNode()
Returns
Keys()
public String[] Keys()
Returns
Exceptions
Name()
public String Name()
Returns
Node(String)
public Preferences Node(String arg0)
Parameters
Returns
NodeExists(String)
public bool NodeExists(String arg0)
Parameters
Returns
Exceptions
Parent()
public Preferences Parent()
Returns
Put(String, String)
public void Put(String arg0, String arg1)
Parameters
PutBoolean(String, bool)
public void PutBoolean(String arg0, bool arg1)
Parameters
PutByteArray(String, byte[])
public void PutByteArray(String arg0, byte[] arg1)
Parameters
PutDouble(String, double)
public void PutDouble(String arg0, double arg1)
Parameters
PutFloat(String, float)
public void PutFloat(String arg0, float arg1)
Parameters
PutInt(String, int)
public void PutInt(String arg0, int arg1)
Parameters
PutLong(String, long)
public void PutLong(String arg0, long arg1)
Parameters
Remove(String)
public void Remove(String arg0)
Parameters
RemoveNode()
public void RemoveNode()
Exceptions
RemoveNodeChangeListener(NodeChangeListener)
public void RemoveNodeChangeListener(NodeChangeListener arg0)
Parameters
RemovePreferenceChangeListener(PreferenceChangeListener)
public void RemovePreferenceChangeListener(PreferenceChangeListener arg0)
Parameters
Sync()
public void Sync()
Exceptions
SystemNodeForPackage(Class)
public static Preferences SystemNodeForPackage(Class arg0)
Parameters
Returns
SystemRoot()
public static Preferences SystemRoot()
Returns
UserNodeForPackage(Class)
public static Preferences UserNodeForPackage(Class arg0)
Parameters
Returns
UserRoot()
public static Preferences UserRoot()