|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.actions.naming.strategy.AbstractFileNamingStrategy org.jboss.soa.esb.actions.naming.strategy.ChangeSuffixNamingStrategy
public class ChangeSuffixNamingStrategy
Naming strategy that changes the suffix of a file to a configured value.
Field Summary | |
---|---|
static java.lang.String |
ATTR_NEW_SUFFIX
XML attribute that holds the new suffix |
static java.lang.String |
DEFAULT_NEW_SUFFIX
Default suffix if none is configured |
Constructor Summary | |
---|---|
ChangeSuffixNamingStrategy()
|
Method Summary | |
---|---|
void |
configure(org.w3c.dom.Node xml)
Configure the strategy from its XML node. |
java.lang.String |
getNewSuffix()
Get the new suffix to use. |
java.lang.String |
process(java.lang.String filename,
Message message)
Process the incoming filename and generate an outgoing filename. |
void |
setNewSuffix(java.lang.String newSuffix)
Set the new suffix to use. |
Methods inherited from class org.jboss.soa.esb.actions.naming.strategy.AbstractFileNamingStrategy |
---|
getFilenameWithoutSuffix, getSuffix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_NEW_SUFFIX
public static final java.lang.String ATTR_NEW_SUFFIX
Constructor Detail |
---|
public ChangeSuffixNamingStrategy()
Method Detail |
---|
public void configure(org.w3c.dom.Node xml)
FileNamingStrategy
public java.lang.String process(java.lang.String filename, Message message)
FileNamingStrategy
process
in interface FileNamingStrategy
process
in class AbstractFileNamingStrategy
public void setNewSuffix(java.lang.String newSuffix)
newSuffix
- public java.lang.String getNewSuffix()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |