UserProperties

Inheritance: java.lang.Object, java.util.Dictionary, java.util.Hashtable, java.util.Properties

public class UserProperties extends Properties

型付きプロパティの設定と取得を可能にする特別なプロパティクラスです。また、このプロパティオブジェクトにプロパティが存在しない場合に検索される2つのデフォルトプロパティオブジェクトをフックアップすることもできます。

コンストラクタ

コンストラクタ説明
UserProperties()UserProperties クラスの空のインスタンスを初期化します。
UserProperties(Properties defaults)UserProperties クラスをデフォルト値で初期化します。
UserProperties(Properties defaults, Properties altDefaults)UserProperties を、デフォルトテーブルと代替デフォルトテーブル(この順序で検索されます)で構築します。

メソッド

メソッド説明
clear()
clone()
compute(K arg0, BiFunction<? super K,? super V,? extends V> arg1)
compute(Object arg0, BiFunction arg1)
computeIfAbsent(K arg0, Function<? super K,? extends V> arg1)
computeIfAbsent(Object arg0, Function arg1)
computeIfPresent(K arg0, BiFunction<? super K,? super V,? extends V> arg1)
computeIfPresent(Object arg0, BiFunction arg1)
contains(Object arg0)
containsKey(Object arg0)
containsValue(Object arg0)
elements()
entrySet()
equals(Object arg0)
forEach(BiConsumer<? super K,? super V> arg0)
forEach(BiConsumer<? super Object,? super Object> arg0)
get(Object arg0)
getClass()
getOrDefault(Object arg0, V arg1)
getOrDefault(Object arg0, Object arg1)
getProperty(String key)文字列プロパティの値を取得します。
getProperty(String key, String def)文字列プロパティの値を取得します。
getPropertyColor(String key)色プロパティの値を取得します。
getPropertyColor(String key, Color def)色プロパティの値を取得します。
getPropertyDimension(String key)寸法プロパティの値を取得します。
getPropertyDimension(String key, Dimension def)寸法プロパティの値を取得します。
getPropertyDouble(String key)double プロパティの値を取得します。
getPropertyDouble(String key, double def)double プロパティの値を取得します。
getPropertyFloat(String key)float プロパティの値を取得します。
getPropertyFloat(String key, float def)float プロパティの値を取得します。
getPropertyInsets(String key)インセットプロパティの値を取得します。
getPropertyInsets(String key, Insets def)インセットプロパティの値を取得します。
getPropertyInt(String key)integer プロパティの値を取得します。
getPropertyInt(String key, int def)integer プロパティの値を取得します。
getPropertyMatrix(String key)float プロパティの値を取得します。
getPropertyMatrix(String key, AffineTransform def)float プロパティの値を取得します。
getPropertyRectangle(String key)rectangle プロパティの値を取得します。
getPropertyRectangle(String key, Rectangle def)rectangle プロパティの値を取得します。
getPropertyStringArray(String key)string 配列プロパティの値を取得します。
getPropertyStringArray(String key, String[] def)string 配列プロパティの値を取得します。
hashCode()
isEmpty()
isProperty(String key)boolean プロパティの値を取得します。
isProperty(String key, boolean def)boolean プロパティの値を取得します。
keySet()
keys()
list(PrintStream arg0)
list(PrintWriter arg0)
load(InputStream arg0)
load(Reader arg0)
loadFromXML(InputStream arg0)
merge(K arg0, V arg1, BiFunction<? super V,? super V,? extends V> arg2)
merge(Object arg0, Object arg1, BiFunction arg2)
notify()
notifyAll()
printProperties()設定されたすべてのプロパティを出力します。
propertyNames()プロパティ名を返します。
put(K arg0, V arg1)
put(Object arg0, Object arg1)
putAll(Map<? extends K,? extends V> arg0)
putAll(Map arg0)
putIfAbsent(K arg0, V arg1)
putIfAbsent(Object arg0, Object arg1)
remove(Object arg0)
remove(Object arg0, Object arg1)
replace(K arg0, V arg1)
replace(K arg0, V arg1, V arg2)
replace(Object arg0, Object arg1)
replace(Object arg0, Object arg1, Object arg2)
replaceAll(BiFunction<? super K,? super V,? extends V> arg0)
replaceAll(BiFunction arg0)
save(OutputStream arg0, String arg1)
setProperties(Properties properties)プロパティをコピーし、デフォルトもこの UserProperties に含めます。
setProperty(String key, boolean value)boolean プロパティの値を設定します。
setProperty(String key, double value)double プロパティの値を設定します。
setProperty(String key, float value)float プロパティの値を設定します。
setProperty(String key, int value)integer プロパティの値を設定します。
setProperty(String key, Color value)色プロパティの値を設定します。
setProperty(String key, Dimension value)寸法プロパティの値を設定します。
setProperty(String key, Insets value)インセットプロパティの値を設定します。
setProperty(String key, Rectangle value)rectangle プロパティの値を設定します。
setProperty(String key, AffineTransform value)matrix プロパティの値を設定します。
setProperty(String key, String value)string プロパティの値を設定します。
setProperty(String key, String[] value)string 配列プロパティの値を設定します。
setProperty(Properties properties, String key, boolean value)指定されたプロパティテーブルで boolean プロパティの値を設定します。
setProperty(Properties properties, String key, double value)指定されたプロパティテーブルで double プロパティの値を設定します。
setProperty(Properties properties, String key, float value)指定されたプロパティテーブルの float プロパティ値を設定します。
setProperty(Properties properties, String key, int value)指定されたプロパティテーブルの integer プロパティ値を設定します。
setProperty(Properties properties, String key, Color value)指定されたプロパティテーブルの color プロパティ値を設定します。
setProperty(Properties properties, String key, Dimension value)指定されたプロパティテーブルの dimension プロパティ値を設定します。
setProperty(Properties properties, String key, Insets value)指定されたプロパティテーブルの insets プロパティ値を設定します。
setProperty(Properties properties, String key, Rectangle value)指定されたプロパティテーブルの rectangle プロパティ値を設定します。
setProperty(Properties properties, String key, AffineTransform value)指定されたプロパティテーブルの matrix プロパティ値を設定します。
setProperty(Properties properties, String key, String[] value)指定されたプロパティテーブルの string array プロパティ値を設定します。
size()
store(OutputStream arg0, String arg1)
store(Writer arg0, String arg1)
storeToXML(OutputStream arg0, String arg1)
storeToXML(OutputStream arg0, String arg1, String arg2)
storeToXML(OutputStream arg0, String arg1, Charset arg2)
stringPropertyNames()
toString()
values()
wait()
wait(long arg0)
wait(long arg0, int arg1)

UserProperties()

public UserProperties()

UserProperties クラスの空のインスタンスを初期化します。

UserProperties(Properties defaults)

public UserProperties(Properties defaults)

UserProperties クラスをデフォルト値で初期化します。

Parameters:

パラメータ説明
デフォルトjava.util.Propertiesデフォルトのプロパティ値です。

UserProperties(Properties defaults, Properties altDefaults)

public UserProperties(Properties defaults, Properties altDefaults)

UserProperties を、デフォルトテーブルと代替デフォルトテーブル(この順序で検索されます)で構築します。

Parameters:

パラメータ説明
デフォルトjava.util.Propertiesデフォルトのプロパティです。
altDefaultsjava.util.Properties代替のデフォルトプロパティです。

clear()

public synchronized void clear()

clone()

public synchronized Object clone()

Returns: java.lang.Object

compute(K arg0, BiFunction<? super K,? super V,? extends V> arg1)

public synchronized V compute(K arg0, BiFunction<? super K,? super V,? extends V> arg1)

Parameters:

パラメータ説明
arg0K
arg1java.util.function.BiFunction<? super K,? super V,? extends V>

Returns: V

compute(Object arg0, BiFunction arg1)

public synchronized Object compute(Object arg0, BiFunction<? super Object,? super Object,?> arg1)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1java.util.function.BiFunction

Returns: java.lang.Object

computeIfAbsent(K arg0, Function<? super K,? extends V> arg1)

public synchronized V computeIfAbsent(K arg0, Function<? super K,? extends V> arg1)

Parameters:

パラメータ説明
arg0K
arg1java.util.function.Function<? super K,? extends V>

Returns: V

computeIfAbsent(Object arg0, Function arg1)

public synchronized Object computeIfAbsent(Object arg0, Function<? super Object,?> arg1)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1java.util.function.Function

Returns: java.lang.Object

computeIfPresent(K arg0, BiFunction<? super K,? super V,? extends V> arg1)

public synchronized V computeIfPresent(K arg0, BiFunction<? super K,? super V,? extends V> arg1)

Parameters:

パラメータ説明
arg0K
arg1java.util.function.BiFunction<? super K,? super V,? extends V>

Returns: V

computeIfPresent(Object arg0, BiFunction arg1)

public synchronized Object computeIfPresent(Object arg0, BiFunction<? super Object,? super Object,?> arg1)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1java.util.function.BiFunction

Returns: java.lang.Object

contains(Object arg0)

public boolean contains(Object arg0)

Parameters:

パラメータ説明
arg0java.lang.Object

Returns: boolean

containsKey(Object arg0)

public boolean containsKey(Object arg0)

Parameters:

パラメータ説明
arg0java.lang.Object

Returns: boolean

containsValue(Object arg0)

public boolean containsValue(Object arg0)

Parameters:

パラメータ説明
arg0java.lang.Object

Returns: boolean

elements()

public Enumeration<Object> elements()

Returns: java.util.Enumeration<java.lang.Object>

entrySet()

public Set<Map.Entry<Object,Object>> entrySet()

Returns: java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object»

equals(Object arg0)

public synchronized boolean equals(Object arg0)

Parameters:

パラメータ説明
arg0java.lang.Object

Returns: boolean

forEach(BiConsumer<? super K,? super V> arg0)

public synchronized void forEach(BiConsumer<? super K,? super V> arg0)

Parameters:

パラメータ説明
arg0java.util.function.BiConsumer<? super K,? super V>

forEach(BiConsumer<? super Object,? super Object> arg0)

public synchronized void forEach(BiConsumer<? super Object,? super Object> arg0)

Parameters:

パラメータ説明
arg0java.util.function.BiConsumer<? super java.lang.Object,? super java.lang.Object>

get(Object arg0)

public Object get(Object arg0)

Parameters:

パラメータ説明
arg0java.lang.Object

Returns: java.lang.Object

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getOrDefault(Object arg0, V arg1)

public synchronized V getOrDefault(Object arg0, V arg1)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1V

Returns: V

getOrDefault(Object arg0, Object arg1)

public Object getOrDefault(Object arg0, Object arg1)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1java.lang.Object

Returns: java.lang.Object

getProperty(String key)

public String getProperty(String key)

文字列プロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: java.lang.String - プロパティ値。

getProperty(String key, String def)

public String getProperty(String key, String def)

文字列プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
defjava.lang.Stringプロパティのデフォルト値。

Returns: java.lang.String - プロパティ値。

getPropertyColor(String key)

public Color getPropertyColor(String key)

色プロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: java.awt.Color - プロパティ値。

getPropertyColor(String key, Color def)

public Color getPropertyColor(String key, Color def)

カラー プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
defjava.awt.Colorプロパティのデフォルト値。

Returns: java.awt.Color - プロパティ値。

getPropertyDimension(String key)

public Dimension getPropertyDimension(String key)

寸法プロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: java.awt.Dimension - プロパティ値。

getPropertyDimension(String key, Dimension def)

public Dimension getPropertyDimension(String key, Dimension def)

次元プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
defjava.awt.Dimensionプロパティのデフォルト値。

Returns: java.awt.Dimension - プロパティ値。

getPropertyDouble(String key)

public double getPropertyDouble(String key)

double プロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: double - プロパティ値。

getPropertyDouble(String key, double def)

public double getPropertyDouble(String key, double def)

double プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
defdoubleプロパティのデフォルト値。

Returns: double - プロパティ値。

getPropertyFloat(String key)

public float getPropertyFloat(String key)

float プロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: float - プロパティ値。

getPropertyFloat(String key, float def)

public float getPropertyFloat(String key, float def)

float プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
deffloatプロパティのデフォルト値。

Returns: float - プロパティ値。

getPropertyInsets(String key)

public Insets getPropertyInsets(String key)

インセットプロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: java.awt.Insets - プロパティ値。

getPropertyInsets(String key, Insets def)

public Insets getPropertyInsets(String key, Insets def)

インセット プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
defjava.awt.Insetsプロパティのデフォルト値。

Returns: java.awt.Insets - プロパティ値。

getPropertyInt(String key)

public int getPropertyInt(String key)

integer プロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: int - プロパティ値。

getPropertyInt(String key, int def)

public int getPropertyInt(String key, int def)

整数プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
defintプロパティのデフォルト値。

Returns: int - プロパティ値。

getPropertyMatrix(String key)

public AffineTransform getPropertyMatrix(String key)

float プロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: java.awt.geom.AffineTransform - プロパティ値。

getPropertyMatrix(String key, AffineTransform def)

public AffineTransform getPropertyMatrix(String key, AffineTransform def)

float プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
defjava.awt.geom.AffineTransformプロパティのデフォルト値。

Returns: java.awt.geom.AffineTransform - プロパティ値。

getPropertyRectangle(String key)

public Rectangle getPropertyRectangle(String key)

rectangle プロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: java.awt.Rectangle - プロパティ値。

getPropertyRectangle(String key, Rectangle def)

public Rectangle getPropertyRectangle(String key, Rectangle def)

矩形プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
defjava.awt.Rectangleプロパティのデフォルト値。

Returns: java.awt.Rectangle - プロパティ値。

getPropertyStringArray(String key)

public String[] getPropertyStringArray(String key)

string 配列プロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: java.lang.String[] - プロパティ値。

getPropertyStringArray(String key, String[] def)

public String[] getPropertyStringArray(String key, String[] def)

文字列配列プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
defjava.lang.String[]プロパティのデフォルト値。

Returns: java.lang.String[] - プロパティ値。

hashCode()

public synchronized int hashCode()

Returns: int

isEmpty()

public boolean isEmpty()

Returns: boolean

isProperty(String key)

public boolean isProperty(String key)

boolean プロパティの値を取得します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。

Returns: boolean - プロパティ値。

isProperty(String key, boolean def)

public boolean isProperty(String key, boolean def)

ブール型プロパティの値を取得します。要求されたプロパティが存在しない場合、提供されたデフォルト値を返します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
defbooleanプロパティのデフォルト値。

Returns: boolean - プロパティ値。

keySet()

public Set<Object> keySet()

Returns: java.util.Set<java.lang.Object>

keys()

public Enumeration<Object> keys()

Returns: java.util.Enumeration<java.lang.Object>

list(PrintStream arg0)

public void list(PrintStream arg0)

Parameters:

パラメータ説明
arg0java.io.PrintStream

list(PrintWriter arg0)

public void list(PrintWriter arg0)

Parameters:

パラメータ説明
arg0java.io.PrintWriter

load(InputStream arg0)

public synchronized void load(InputStream arg0)

Parameters:

パラメータ説明
arg0java.io.InputStream

load(Reader arg0)

public synchronized void load(Reader arg0)

Parameters:

パラメータ説明
arg0java.io.Reader

loadFromXML(InputStream arg0)

public synchronized void loadFromXML(InputStream arg0)

Parameters:

パラメータ説明
arg0java.io.InputStream

merge(K arg0, V arg1, BiFunction<? super V,? super V,? extends V> arg2)

public synchronized V merge(K arg0, V arg1, BiFunction<? super V,? super V,? extends V> arg2)

Parameters:

パラメータ説明
arg0K
arg1V
arg2java.util.function.BiFunction<? super V,? super V,? extends V>

Returns: V

merge(Object arg0, Object arg1, BiFunction arg2)

public synchronized Object merge(Object arg0, Object arg1, BiFunction<? super Object,? super Object,?> arg2)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1java.lang.Object
arg2java.util.function.BiFunction

Returns: java.lang.Object

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

printProperties()

public void printProperties()

設定されたすべてのプロパティを出力します。

propertyNames()

public Enumeration propertyNames()

プロパティ名を返します。

Returns: java.util.Enumeration - プロパティ名の列挙。

put(K arg0, V arg1)

public synchronized V put(K arg0, V arg1)

Parameters:

パラメータ説明
arg0K
arg1V

Returns: V

put(Object arg0, Object arg1)

public synchronized Object put(Object arg0, Object arg1)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1java.lang.Object

Returns: java.lang.Object

putAll(Map<? extends K,? extends V> arg0)

public synchronized void putAll(Map<? extends K,? extends V> arg0)

Parameters:

パラメータ説明
arg0java.util.Map<? extends K,? extends V>

putAll(Map arg0)

public synchronized void putAll(Map<?,?> arg0)

Parameters:

パラメータ説明
arg0java.util.Map

putIfAbsent(K arg0, V arg1)

public synchronized V putIfAbsent(K arg0, V arg1)

Parameters:

パラメータ説明
arg0K
arg1V

Returns: V

putIfAbsent(Object arg0, Object arg1)

public synchronized Object putIfAbsent(Object arg0, Object arg1)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1java.lang.Object

Returns: java.lang.Object

remove(Object arg0)

public synchronized Object remove(Object arg0)

Parameters:

パラメータ説明
arg0java.lang.Object

Returns: java.lang.Object

remove(Object arg0, Object arg1)

public synchronized boolean remove(Object arg0, Object arg1)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1java.lang.Object

Returns: boolean

replace(K arg0, V arg1)

public synchronized V replace(K arg0, V arg1)

Parameters:

パラメータ説明
arg0K
arg1V

Returns: V

replace(K arg0, V arg1, V arg2)

public synchronized boolean replace(K arg0, V arg1, V arg2)

Parameters:

パラメータ説明
arg0K
arg1V
arg2V

Returns: boolean

replace(Object arg0, Object arg1)

public synchronized Object replace(Object arg0, Object arg1)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1java.lang.Object

Returns: java.lang.Object

replace(Object arg0, Object arg1, Object arg2)

public synchronized boolean replace(Object arg0, Object arg1, Object arg2)

Parameters:

パラメータ説明
arg0java.lang.Object
arg1java.lang.Object
arg2java.lang.Object

Returns: boolean

replaceAll(BiFunction<? super K,? super V,? extends V> arg0)

public synchronized void replaceAll(BiFunction<? super K,? super V,? extends V> arg0)

Parameters:

パラメータ説明
arg0java.util.function.BiFunction<? super K,? super V,? extends V>

replaceAll(BiFunction arg0)

public synchronized void replaceAll(BiFunction<? super Object,? super Object,?> arg0)

Parameters:

パラメータ説明
arg0java.util.function.BiFunction

save(OutputStream arg0, String arg1)

public void save(OutputStream arg0, String arg1)

Parameters:

パラメータ説明
arg0java.io.OutputStream
arg1java.lang.String

setProperties(Properties properties)

public void setProperties(Properties properties)

プロパティをコピーし、デフォルトもこの UserProperties に含めます。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティ。

setProperty(String key, boolean value)

public Object setProperty(String key, boolean value)

boolean プロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valuebooleanプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(String key, double value)

public Object setProperty(String key, double value)

double プロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valuedoubleプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(String key, float value)

public Object setProperty(String key, float value)

float プロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valuefloatプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(String key, int value)

public Object setProperty(String key, int value)

integer プロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valueintプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(String key, Color value)

public Object setProperty(String key, Color value)

色プロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valuejava.awt.Colorプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(String key, Dimension value)

public Object setProperty(String key, Dimension value)

寸法プロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valuejava.awt.Dimensionプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(String key, Insets value)

public Object setProperty(String key, Insets value)

インセットプロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valuejava.awt.Insetsプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(String key, Rectangle value)

public Object setProperty(String key, Rectangle value)

rectangle プロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valuejava.awt.Rectangleプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(String key, AffineTransform value)

public Object setProperty(String key, AffineTransform value)

matrix プロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valuejava.awt.geom.AffineTransformプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(String key, String value)

public Object setProperty(String key, String value)

string プロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valuejava.lang.Stringプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(String key, String[] value)

public Object setProperty(String key, String[] value)

string 配列プロパティの値を設定します。

Parameters:

パラメータ説明
キーjava.lang.Stringプロパティの名前です。
valuejava.lang.String[]プロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(Properties properties, String key, boolean value)

public static Object setProperty(Properties properties, String key, boolean value)

指定されたプロパティテーブルで boolean プロパティの値を設定します。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティテーブル。
キーjava.lang.Stringプロパティの名前です。
valuebooleanプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(Properties properties, String key, double value)

public static Object setProperty(Properties properties, String key, double value)

指定されたプロパティテーブルで double プロパティの値を設定します。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティテーブル。
キーjava.lang.Stringプロパティの名前です。
valuedoubleプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(Properties properties, String key, float value)

public static Object setProperty(Properties properties, String key, float value)

指定されたプロパティテーブルの float プロパティ値を設定します。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティテーブル。
キーjava.lang.Stringプロパティの名前です。
valuefloatプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(Properties properties, String key, int value)

public static Object setProperty(Properties properties, String key, int value)

指定されたプロパティテーブルの integer プロパティ値を設定します。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティテーブル。
キーjava.lang.Stringプロパティの名前です。
valueintプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(Properties properties, String key, Color value)

public static Object setProperty(Properties properties, String key, Color value)

指定されたプロパティテーブルの color プロパティ値を設定します。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティテーブル。
キーjava.lang.Stringプロパティの名前です。
valuejava.awt.Colorプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(Properties properties, String key, Dimension value)

public static Object setProperty(Properties properties, String key, Dimension value)

指定されたプロパティテーブルの dimension プロパティ値を設定します。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティテーブル。
キーjava.lang.Stringプロパティの名前です。
valuejava.awt.Dimensionプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(Properties properties, String key, Insets value)

public static Object setProperty(Properties properties, String key, Insets value)

指定されたプロパティテーブルの insets プロパティ値を設定します。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティテーブル。
キーjava.lang.Stringプロパティの名前です。
valuejava.awt.Insetsプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(Properties properties, String key, Rectangle value)

public static Object setProperty(Properties properties, String key, Rectangle value)

指定されたプロパティテーブルの rectangle プロパティ値を設定します。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティテーブル。
キーjava.lang.Stringプロパティの名前です。
valuejava.awt.Rectangleプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(Properties properties, String key, AffineTransform value)

public static Object setProperty(Properties properties, String key, AffineTransform value)

指定されたプロパティテーブルの matrix プロパティ値を設定します。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティテーブル。
キーjava.lang.Stringプロパティの名前です。
valuejava.awt.geom.AffineTransformプロパティの値。

Returns: java.lang.Object - プロパティ。

setProperty(Properties properties, String key, String[] value)

public static Object setProperty(Properties properties, String key, String[] value)

指定されたプロパティテーブルの string array プロパティ値を設定します。

Parameters:

パラメータ説明
プロパティjava.util.Propertiesプロパティテーブル。
キーjava.lang.Stringプロパティの名前です。
valuejava.lang.String[]プロパティの値。

Returns: java.lang.Object - プロパティ。

size()

public int size()

Returns: int

store(OutputStream arg0, String arg1)

public void store(OutputStream arg0, String arg1)

Parameters:

パラメータ説明
arg0java.io.OutputStream
arg1java.lang.String

store(Writer arg0, String arg1)

public void store(Writer arg0, String arg1)

Parameters:

パラメータ説明
arg0java.io.Writer
arg1java.lang.String

storeToXML(OutputStream arg0, String arg1)

public void storeToXML(OutputStream arg0, String arg1)

Parameters:

パラメータ説明
arg0java.io.OutputStream
arg1java.lang.String

storeToXML(OutputStream arg0, String arg1, String arg2)

public void storeToXML(OutputStream arg0, String arg1, String arg2)

Parameters:

パラメータ説明
arg0java.io.OutputStream
arg1java.lang.String
arg2java.lang.String

storeToXML(OutputStream arg0, String arg1, Charset arg2)

public void storeToXML(OutputStream arg0, String arg1, Charset arg2)

Parameters:

パラメータ説明
arg0java.io.OutputStream
arg1java.lang.String
arg2java.nio.charset.Charset

stringPropertyNames()

public Set<String> stringPropertyNames()

Returns: java.util.Set<java.lang.String>

toString()

public synchronized String toString()

Returns: java.lang.String

values()

public Collection<Object> values()

Returns: java.util.Collection<java.lang.Object>

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

パラメータ説明
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

パラメータ説明
arg0long
arg1int