Modifier and Type | Method and Description |
---|---|
PropertyType<T> |
Property.getType()
Gets the type of property.
|
Constructor and Description |
---|
Property(String name,
PropertyType<T> type)
The constructor.
|
Property(String name,
PropertyType<T> type,
boolean nullAllowed)
The constructor.
|
Property(String name,
PropertyType<T> type,
boolean nullAllowed,
boolean readonly)
The constructor.
|
Property(String name,
PropertyType<T> type,
boolean nullAllowed,
boolean readonly,
String description)
The constructor with all the different paramenters.
|
Property(String name,
PropertyType<T> type,
String description)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
PropertyType<?> |
PropertiesJavaDefinitionPrinter.TypedJavaDefinition.getPropertyType() |
Constructor and Description |
---|
TypedJavaDefinition(PropertyType<?> propertyType,
String resultClassName) |
TypedJavaDefinition(PropertyType<?> propertyType,
String resultClassName,
String comment) |
Modifier and Type | Class and Description |
---|---|
class |
DerivedFromSinglePropertyType<K,T>
Convenient class which one Property<K> is used to derived to Type <T>.
|
class |
DerivedFromTypePropertyType<K,T>
A convenience implementation of DerivedPropertyType where it is dependent on one property, and has an implementation which can convert it.
|
class |
DerivedPropertyType<T>
An abstract and readonly PropertyType, where the resulting type is dependent on other Property values.
|
Modifier and Type | Method and Description |
---|---|
PropertyType<T> |
TypeListFromTextFile.getPropertyType()
The PropertyType used to convert a line to a Type T.
|
Constructor and Description |
---|
TypeListFromTextFile(PropertyType<T> propertyType)
Constructor, using default charset and no lines is ignored.
|
TypeListFromTextFile(PropertyType<T> propertyType,
Charset encoding,
String ignoreLineRegex)
Constructor.
|
TypeListFromTextFile(PropertyType<T> propertyType,
String ignoreLineRegex)
Constructor, using default charset.
|
TypeListFromTextFile(PropertyType<T> propertyType,
String encoding,
String ignoreLineRegex)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
BigDecimalPropertyType
PropertyType that validates to a BigDecimal value.
|
class |
BigIntegerPropertyType
PropertyType that validates to a BigInteger value.
|
class |
BooleanPropertyType
PropertyType that validates to a boolean value.
|
class |
ByteSizePropertyType
PropertyType that validates to a ByteSizeVO value.
|
class |
CharsetPropertyType
PropertyType that validates to a Charset value.
|
class |
ClassnamePropertyType
PropertyType that validates to a class value.
|
class |
ColorPropertyType
PropertyType that validates to a color value.
|
class |
ConnectionUrlPropertyType
PropertyType that validates to a String to be a valid database connection URL it has to be in the form "
jdbc:subprotocol:subname ". |
class |
CountryPropertyType
PropertyType that validates to a Locale value only based on country code.
|
class |
DateFormatPropertyType
PropertyType that validates to a SimpleDateFormat value.
|
class |
DateTimePropertyType
PropertyType that validates to a date value.
|
class |
DecimalFormatPropertyType
PropertyType that validates to a DecimalFormat value.
|
class |
DirectoryPropertyType
PropertyType that validates to a file value of type directory.
|
class |
DoublePropertyType
PropertyType that validates to a Double value.
|
class |
EmailPropertyType
PropertyType that validates to a string value into a valid email address.
|
class |
EnumPropertyType<T extends Enum<T>>
PropertyType that validates to a string value to an Enum type constant.
|
class |
EnvironmentPropertyType
PropertyType that validates to a enum Environment class.
|
class |
FilenameFilterPropertyType
PropertyType that validates to a AbstractStringFilenameFilter value.
|
class |
FilePropertyType
PropertyType that validates to a file value of type file.
|
class |
FileStructurePropertyType
This property type initialize and validates a file structure from a root directory point of view.
|
class |
FontPropertyType
PropertyType that validates to a Font value.
|
class |
HourIntervalsPropertyType
PropertyType that validates to a HourIntervalsVO value.
|
class |
InetAddressPropertyType
PropertyType that validates to a InetAddress value.
|
class |
IntegerPropertyType
PropertyType that validates to a Integer value.
|
class |
IP4AddressPropertyType
PropertyType that validates to a string value into a valid IP4 address.
|
class |
IPRangePropertyType
PropertyType that validates to a string value to an IPRange.
An ip range can be either by all ip addresses, a single address, or different ranges. You can than use the IPRange class to see if an given ip address is inside your address range space. |
class |
LatLngPropertyType
See detailed descriptions in the LatLng and GeoUtils documentation.
|
class |
LdapNamePropertyType
PropertyType that validates to a LdapName value.
|
class |
ListKeyValuePropertyType<K,V>
PropertyType that validates to a list of KeyValueVO with <K> as key and <V> as value.
|
class |
ListPropertyType<T>
Holds a list of another PropertyType.
|
class |
LocalePropertyType
PropertyType that validates to a Locale value.
|
class |
LongPropertyType
PropertyType that validates to a Long value.
|
class |
MimeTypePropertyType
PropertyType that validates to a MimeType value.
|
class |
MonthPropertyType
PropertyType that validates to a Month class.
|
class |
PasswordPropertyType
Implementation for IPasswordPropertyType.
|
class |
Point2DPropertyType
PropertyType that validates to a
dk.heick.properties.types.custom.Point2D value. |
class |
Point3DPropertyType
PropertyType that validates to a
dk.heick.properties.types.custom.Point3D value. |
class |
ProxyPropertyType
PropertyType that validates to a Proxy value.
|
class |
RangePropertyType<T extends Comparable<T>>
PropertyType that validates to a string value to an RangeVO of type
T .Type T must extends Comparable<T> . |
class |
RegularExpressionPropertyType
PropertyType that validates to a string value against a regular expression.
|
class |
SequencePropertyType
PropertyType that validates to a SequenceVO value.
|
class |
StringPropertiesPropertyType
This type convert and validates a string to a
java.util.Properties . |
class |
StringPropertyType
PropertyType that validates to a string value by the attributes provided in the constructor.
|
class |
TimeSpanPropertyType
PropertyType that validates to a
dk.heick.properties.types.custom.TimeSpan value. |
class |
TimeUnitPropertyType
PropertyType that validates to a TimeUnit class.
|
class |
TimeZonePropertyType
PropertyType that validates to a TimeZone value.
|
class |
URIPropertyType
PropertyType that validates to a URI value.
|
class |
URLPropertyType
PropertyType that validates to a URL value.
|
class |
VersionPropertyType
A String that conforms to the version pattern "
major.minor[.revision][_state[version]][-name] ". |
class |
WeekdayPropertyType
PropertyType that validates to a Weekday enum class.
|
Modifier and Type | Method and Description |
---|---|
PropertyType<K> |
ListKeyValuePropertyType.getKeyType()
The key PropertyType.
|
PropertyType<T> |
ListPropertyType.getPropertyType()
The PropertyType which all the elements must validate to.
|
PropertyType<T> |
RangePropertyType.getRangeType()
Gets the RangeType which return type T for the FROM and TO values.
|
PropertyType<V> |
ListKeyValuePropertyType.getValueType()
The value PropertyType.
|
Modifier and Type | Method and Description |
---|---|
void |
ListKeyValuePropertyType.setKeyType(PropertyType<K> keyType) |
void |
ListPropertyType.setPropertyType(PropertyType<T> propertyType) |
void |
RangePropertyType.setRangeType(PropertyType<T> rangeType)
Sets the range type.
|
void |
ListKeyValuePropertyType.setValueType(PropertyType<V> valueType) |
Constructor and Description |
---|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
Integer minNumberOfElements,
Integer maxNumberOfElements)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
Integer minNumberOfElements,
Integer maxNumberOfElements)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
List<KeyValueVO<K,V>> defaultValue)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
List<KeyValueVO<K,V>> defaultValue)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
List<KeyValueVO<K,V>> defaultValue,
Integer minNumberOfElements)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
List<KeyValueVO<K,V>> defaultValue,
Integer minNumberOfElements)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
List<KeyValueVO<K,V>> defaultValue,
Integer minNumberOfElements,
Integer maxNumberOfElements)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
List<KeyValueVO<K,V>> defaultValue,
Integer minNumberOfElements,
Integer maxNumberOfElements)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
List<KeyValueVO<K,V>> defaultValue,
String elementDivider,
String keyValueDivider,
Integer minNumberOfElements,
Integer maxNumberOfElements)
Constructor.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
List<KeyValueVO<K,V>> defaultValue,
String elementDivider,
String keyValueDivider,
Integer minNumberOfElements,
Integer maxNumberOfElements)
Constructor.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
String elementDivider,
String keyValueDivider)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
String elementDivider,
String keyValueDivider)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
String elementDivider,
String keyValueDivider,
Integer minNumberOfElements,
Integer maxNumberOfElements)
Constructor, with initial values.
|
ListKeyValuePropertyType(PropertyType<K> keyType,
PropertyType<V> valueType,
String elementDivider,
String keyValueDivider,
Integer minNumberOfElements,
Integer maxNumberOfElements)
Constructor, with initial values.
|
ListPropertyType(PropertyType<T> propertyType)
Returns a ListPropertyType that can hold a list of propertyType using DEFAULT_DIVIDER,
with default value of an empty list and no constraints on minimum or maximum elements in the list.
|
ListPropertyType(PropertyType<T> propertyType,
Integer minLength)
Returns a ListPropertyType that can hold a list of propertyType using DEFAULT_DIVIDER,
with default value of an empty list and no constraints on maximum elements in the list.
|
ListPropertyType(PropertyType<T> propertyType,
Integer minLength,
Integer maxLength)
Returns a ListPropertyType that can hold a list of propertyType using DEFAULT_DIVIDER,
with default value of an empty list and no constraints on maximum elements in the list.
|
ListPropertyType(PropertyType<T> propertyType,
List<T> defaultValue)
Returns a ListPropertyType that can hold a list of propertyType using DEFAULT_DIVIDER,
and no constraints on minimum or maximum elements in the list.
|
ListPropertyType(PropertyType<T> propertyType,
List<T> defaultValue,
Integer minLength)
Returns a ListPropertyType that can hold a list of propertyType using DEFAULT_DIVIDER,
no constraints on maximum elements in the list.
|
ListPropertyType(PropertyType<T> propertyType,
List<T> defaultValue,
String divider,
Integer minLength,
Integer maxLength)
Returns a ListPropertyType that can hold a list of propertyType using provided divider and an
constraint on the minimum and maximum elements in their must be in the list, and a default value of an empty list.
|
ListPropertyType(PropertyType<T> propertyType,
String divider)
Returns a ListPropertyType that can hold a list of propertyType using provided divider,
with no default value of an empty list and no constraints on minimum or maximum elements in the list.
|
ListPropertyType(PropertyType<T> propertyType,
String divider,
Integer minLength)
Returns a ListPropertyType that can hold a list of propertyType using provided divider and an
constraint on the minimum elements in their must be in the list, and a default value of an empty list.
|
ListPropertyType(PropertyType<T> propertyType,
String divider,
Integer minLength,
Integer maxLength)
Returns a ListPropertyType that can hold a list of propertyType using provided divider and an
constraint on the minimum elements in their must be in the list, and a default value of an empty list.
|
RangePropertyType(PropertyType<T> rangeType)
Constructor where divider is set to ";" and default value is
null . |
RangePropertyType(PropertyType<T> rangeType,
RangeVO<T> defaultValue)
Constructor where divider is set to ";".
|
RangePropertyType(PropertyType<T> rangeType,
RangeVO<T> defaultValue,
String divider)
Constructor.
|
RangePropertyType(PropertyType<T> rangeType,
String divider)
Constructor where default value is
null . |
Modifier and Type | Method and Description |
---|---|
PropertyType<T> |
RangeVO.getRangeType()
Gets the PropertyType which can convert a String to type T.
|
Constructor and Description |
---|
RangeVO(PropertyType<T> rangeType,
T from,
T to,
String divider)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractKeyPropertyType<T extends Key>
An abstract implementation which loads a File to a Private or Public key.
|
class |
BytesFromFilePropertyType
Loads a file into a byte array, where the file derives from a property which returns a File.
Example: |
class |
CertificateKeyStoredPropertyType
Gets a Certificate from a KeyStore, where the KeyStore is defined by another Property.
|
class |
CertificatesFilePropertyType
Constructor, using default provider.
|
class |
CertificateSignedFilePropertyType
Gets a File which is verifed that is signed with a signature and public key all defined by other properties.
No default value for this PropertyType. |
class |
ImageFromFilePropertyType
Loads an BufferedImage from a File where the path is provided from another Property.
Example: |
class |
ImageFromURLPropertyType
Loads an Image from an URL where the path is provided from another Property.
|
class |
KeySignedFilePropertyType
Loads and validates a signed file.
|
class |
KeyStoreFilePropertyType
Loads a KeyStore from a KeyStore file.
|
class |
PrivateKeyFilePropertyType
Loads a PrivateKey from a File, which is defined with another Property.
No default value for this PropertyType, either it loads or it do not. |
class |
PublicKeyFilePropertyType
Loads a PublicKey from a File, which is defined with another Property.
|
class |
TextFromFilePropertyType
Loads a file into a String, where the file derives from a property which returns a File.
Example: |
Modifier and Type | Class and Description |
---|---|
class |
FileDerivedPropertyType<T>
An implementation of DerivedFromTypePropertyType where it is dependent on one property which returns a File, and has an implementation which can convert it to type T.
|
class |
TypeListFromTextFilePropertyType<T>
Loads a text file an converts each line to the type T using a PropertyType.
|
class |
URLDerivedPropertyType<T>
An implementation of DerivedFromTypePropertyType where it is dependent on one property which returns a URL, and has an implementation which can convert it to type T.
|
Constructor and Description |
---|
TypeListFromTextFilePropertyType(Property<File> derivedFromFile,
PropertyType<T> propertyType)
Constructor using default enconding and
null |
TypeListFromTextFilePropertyType(Property<File> derivedFromFile,
PropertyType<T> propertyType,
Charset encoding)
Constructor using
null |
TypeListFromTextFilePropertyType(Property<File> derivedFromFile,
PropertyType<T> propertyType,
String ignoreLineRegex)
Constructor using default enconding
|
TypeListFromTextFilePropertyType(Property<File> derivedFromFile,
PropertyType<T> propertyType,
String ignoreLineRegex,
Charset encoding) |
TypeListFromTextFilePropertyType(Property<File> derivedFromFile,
PropertyType<T> propertyType,
String ignoreLineRegex,
String encoding)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected PropertyType<T> |
PropertyTypeXmlAdapter.getPropertyType()
The propertyType used.
|
Constructor and Description |
---|
PropertyTypeXmlAdapter(PropertyType<T> propertyType)
Constructor.
|