|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.addressing.EPR
org.jboss.soa.esb.addressing.eprs.FileEpr
public class FileEpr
A helper class for using file based EPRs. Simply create instances of this class instead of the base EPR. Since URLs can use file:// as the protocol, we try to leverage that as much as possible.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_REPLY_TO_FILE_SUFFIX
|
static java.lang.String |
ERROR_DEL_TAG
|
static java.lang.String |
ERROR_DIR_TAG
|
static java.lang.String |
ERROR_SUFFIX_TAG
|
static java.lang.String |
INPUT_SUFFIX_TAG
|
static java.lang.String |
POST_DEL_TAG
|
static java.lang.String |
POST_DIR_TAG
|
static java.lang.String |
POST_RENAME_TAG
|
static java.lang.String |
POST_SUFFIX_TAG
|
static java.lang.String |
URL_TAG
|
static java.lang.String |
WORK_SUFFIX_TAG
|
| Fields inherited from class org.jboss.soa.esb.addressing.EPR |
|---|
_logger, EPR_TYPE |
| Constructor Summary | |
|---|---|
|
FileEpr(EPR epr)
|
|
FileEpr(EPR epr,
org.w3c.dom.Element header)
|
|
FileEpr(java.lang.String url)
|
|
FileEpr(java.net.URI uri)
|
protected |
FileEpr(java.net.URI uri,
java.lang.String type)
|
|
FileEpr(java.net.URL url)
Deprecated. |
| Method Summary | |
|---|---|
EPR |
copy()
Return a copy of this EPR. |
boolean |
getErrorDelete()
Attention - Default |
java.lang.String |
getErrorDirectory()
|
java.lang.String |
getErrorSuffix()
|
java.lang.String |
getInputSuffix()
|
boolean |
getPostDelete()
|
java.lang.String |
getPostDirectory()
|
boolean |
getPostRename()
|
java.lang.String |
getPostSuffix()
|
java.net.URL |
getURL()
Deprecated. |
java.lang.String |
getWorkSuffix()
|
void |
setErrorDelete(boolean del)
Set the error delete for this EPR. |
void |
setErrorDirectory(java.lang.String dir)
Set the error directory for this EPR. |
void |
setErrorSuffix(java.lang.String suffix)
Set the error suffix for this EPR. |
void |
setInputSuffix(java.lang.String suffix)
Set the file input suffix. |
void |
setPostDelete(boolean del)
Set the post delete for this EPR. |
void |
setPostDirectory(java.lang.String dir)
Set the post directory for this EPR. |
void |
setPostRename(boolean rename)
Set the post rename for this EPR. |
void |
setPostSuffix(java.lang.String suffix)
Set the post suffix for this EPR. |
void |
setURL(java.net.URL url)
Deprecated. |
void |
setWorkSuffix(java.lang.String suffix)
Set the work suffix for this EPR. |
java.lang.String |
toString()
|
static java.net.URI |
type()
|
| Methods inherited from class org.jboss.soa.esb.addressing.EPR |
|---|
equals, getAddr, getURI, hashCode, setAddr, setType, setURI |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String INPUT_SUFFIX_TAG
public static final java.lang.String WORK_SUFFIX_TAG
public static final java.lang.String POST_DIR_TAG
public static final java.lang.String POST_SUFFIX_TAG
public static final java.lang.String POST_DEL_TAG
public static final java.lang.String POST_RENAME_TAG
public static final java.lang.String ERROR_DIR_TAG
public static final java.lang.String ERROR_SUFFIX_TAG
public static final java.lang.String ERROR_DEL_TAG
public static final java.lang.String URL_TAG
public static final java.lang.String DEFAULT_REPLY_TO_FILE_SUFFIX
| Constructor Detail |
|---|
public FileEpr(EPR epr)
public FileEpr(EPR epr,
org.w3c.dom.Element header)
public FileEpr(java.net.URL url)
throws java.net.URISyntaxException
url -
java.net.URISyntaxException
public FileEpr(java.lang.String url)
throws java.net.URISyntaxException
java.net.URISyntaxException
protected FileEpr(java.net.URI uri,
java.lang.String type)
public FileEpr(java.net.URI uri)
| Method Detail |
|---|
public void setURL(java.net.URL url)
url - the address.public java.net.URL getURL()
public final void setInputSuffix(java.lang.String suffix)
throws java.net.URISyntaxException
suffix - the input suffix to use.
java.net.URISyntaxException - thrown if this EPR is malformed.public final java.lang.String getInputSuffix()
public final void setWorkSuffix(java.lang.String suffix)
throws java.net.URISyntaxException
suffix - the suffix to use.
java.net.URISyntaxException - thrown if this EPR is malformed.public final java.lang.String getWorkSuffix()
public final void setPostDirectory(java.lang.String dir)
throws java.net.URISyntaxException
dir - the directory to use.
java.net.URISyntaxException - thrown if this EPR is malformed.public final java.lang.String getPostDirectory()
public final void setPostSuffix(java.lang.String suffix)
throws java.net.URISyntaxException
suffix - the suffix to use.
java.net.URISyntaxException - thrown if this EPR is malformed.public final java.lang.String getPostSuffix()
public final void setPostDelete(boolean del)
throws java.net.URISyntaxException
del - the deleted value to use.
java.net.URISyntaxException - thrown if this EPR is malformed.
public final void setPostRename(boolean rename)
throws java.net.URISyntaxException
rename -
java.net.URISyntaxExceptionpublic final boolean getPostRename()
public final boolean getPostDelete()
public final void setErrorDirectory(java.lang.String dir)
throws java.net.URISyntaxException
dir - the directory to use.
java.net.URISyntaxException - thrown if this EPR is malformed.public final java.lang.String getErrorDirectory()
public final void setErrorSuffix(java.lang.String suffix)
throws java.net.URISyntaxException
suffix - the suffix to use.
java.net.URISyntaxException - thrown if this EPR is malformed.public final java.lang.String getErrorSuffix()
public final void setErrorDelete(boolean del)
throws java.net.URISyntaxException
del - the deleted value to use.
java.net.URISyntaxException - thrown if this EPR is malformed.public final boolean getErrorDelete()
public java.lang.String toString()
toString in class EPRpublic EPR copy()
EPR
copy in class EPRpublic static java.net.URI type()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||