|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.storm.Hint
Class containing details of an unusual situation.
| Constructor Summary | |
Hint(Object theSource,
ContentLoader cl)
For sources which don't have a ContentLoader available, use
new Hint(this,null);
Usually, a Hint object is created from a Pilot's
parse method, where a ContentLoader is always available. |
|
| Method Summary | |
ContentLoader |
getContentLoader()
For the sources where a ContentLoader is available. |
String |
getContentType()
|
String |
getCustomDescription()
A short description of the anomaly, meant to be eligible to end users. |
Exception |
getException()
|
String |
getLocation()
|
Object |
getSource()
The sender |
URL |
getUrl()
Deprecated. Use getLocation(). |
void |
setContentType(String value)
|
void |
setCustomDescription(String value)
Should be used by all sources, since this cannot be extracted from the ContentLoader. |
void |
setException(Exception value)
|
void |
setLocation(String value)
|
void |
setUrl(URL value)
Deprecated. Use setLocation(String). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Hint(Object theSource,
ContentLoader cl)
ContentLoader available, use
new Hint(this,null);
Usually, a Hint object is created from a Pilot's
parse method, where a ContentLoader is always available.
The customDescription field should be completed, but the other fields
are completed by the constructor.
| Method Detail |
public Object getSource()
public ContentLoader getContentLoader()
ContentLoader is available. If there is not,
one should try to complete the below fields. If a ContentLoader
is passed to the constructor, location, url and
contentType will be completed automatically.
public String getLocation()
public void setLocation(String value)
public Exception getException()
public void setException(Exception value)
public String getCustomDescription()
public void setCustomDescription(String value)
ContentLoader.
public URL getUrl()
getLocation().
public void setUrl(URL value)
setLocation(String).
public String getContentType()
public void setContentType(String value)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||