| java.lang.Object org.geotools.util.NameFactory
NameFactory | final public class NameFactory (Code) | | A factory for
GenericName objects.
since: 2.1 version: $Id: NameFactory.java 22443 2006-10-27 20:47:22Z desruisseaux $ author: Martin Desruisseaux |
Method Summary | |
public static GenericName | create(String name) Constructs a generic name from a fully qualified name
and the default separator character. | public static GenericName | create(String name, char separator) Constructs a generic name from a fully qualified name
and the specified separator character. | public static GenericName | create(CharSequence[] names) Constructs a generic name from an array of local names and the default separator character.
If any of the specified names is an
InternationalString , then the
(null)
method will be used in order to fetch an unlocalized name. | public static GenericName | create(CharSequence[] names, char separator) Constructs a generic name from an array of local names and the specified separator character.
If any of the specified names is an
InternationalString , then the
(null)
method will be used in order to fetch an unlocalized name. | public static GenericName[] | toArray(Object value) Returns the specified name in an array. |
create | public static GenericName create(String name)(Code) | | Constructs a generic name from a fully qualified name
and the default separator character.
Parameters: name - The fully qualified name. |
create | public static GenericName create(String name, char separator)(Code) | | Constructs a generic name from a fully qualified name
and the specified separator character.
Parameters: name - The fully qualified name. Parameters: separator - The separator character. |
create | public static GenericName create(CharSequence[] names)(Code) | | Constructs a generic name from an array of local names and the default separator character.
If any of the specified names is an
InternationalString , then the
(null)
method will be used in order to fetch an unlocalized name. Otherwise, the
() method will be used.
Parameters: names - The local names as an array of strings or international strings.This array must contains at least one element. |
create | public static GenericName create(CharSequence[] names, char separator)(Code) | | Constructs a generic name from an array of local names and the specified separator character.
If any of the specified names is an
InternationalString , then the
(null)
method will be used in order to fetch an unlocalized name. Otherwise, the
() method will be used.
Parameters: names - The local names as an array of strings.This array must contains at least one element. Parameters: separator - The separator character to use. |
|
|