edu.iu.iv.core.property
Class URLProperty
java.lang.Object
|
+--edu.iu.iv.core.property.Property
|
+--edu.iu.iv.core.property.URLProperty
- All Implemented Interfaces:
- java.lang.Comparable
- public class URLProperty
- extends Property
- Author:
- Team IVC
|
Constructor Summary |
URLProperty(java.lang.String name)
|
URLProperty(java.lang.String name,
java.lang.Class acceptableClass)
|
URLProperty(java.lang.String name,
java.lang.Class acceptableClass,
int priority)
|
|
Method Summary |
java.lang.String |
toString(java.lang.Object value)
Overrides standard toString(value) from property to deal with URLs |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLProperty
public URLProperty(java.lang.String name)
- Parameters:
name -
URLProperty
public URLProperty(java.lang.String name,
java.lang.Class acceptableClass)
- Parameters:
name - acceptableClass -
URLProperty
public URLProperty(java.lang.String name,
java.lang.Class acceptableClass,
int priority)
- Parameters:
name - acceptableClass - priority -
toString
public java.lang.String toString(java.lang.Object value)
- Overrides standard toString(value) from property to deal with URLs
- Overrides:
toString in class Property
- Parameters:
value - the property value
- Returns:
- the string representation of that value.
- See Also:
Property.toString(java.lang.Object)