|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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
|
Constructor Summary | |
---|---|
FileEpr(EPR epr)
|
|
FileEpr(EPR epr,
org.w3c.dom.Element header)
|
|
FileEpr(java.lang.String url)
|
|
FileEpr(java.net.URI uri)
|
|
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, setAddr, setURI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, 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
public FileEpr(java.net.URI uri)
Method Detail |
---|
public void setURL(java.net.URL url)
url
- the address.public java.net.URL getURL() throws java.net.MalformedURLException, java.net.URISyntaxException
java.net.URISyntaxException
- thrown if the address is invalid.
java.net.MalformedURLException
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() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.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() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.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() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.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() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.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.URISyntaxException
public final boolean getPostRename() throws java.net.URISyntaxException
java.net.URISyntaxException
public final boolean getPostDelete() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.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() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.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() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.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() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.public java.lang.String toString()
toString
in class EPR
public EPR copy()
EPR
copy
in class EPR
public static java.net.URI type()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |