|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.actions.AbstractActionLifecycle
org.jboss.soa.esb.actions.AbstractActionPipelineProcessor
org.jboss.soa.esb.actions.converters.BOMFilter
public class BOMFilter
Byte Order Mark (BOM) Filtering Action.
Only works onbyte arrays and InputStreams.
| Field Summary |
|---|
| Fields inherited from interface org.jboss.soa.esb.actions.ActionPipelineProcessor |
|---|
PROCESS_EXCEPTION_METHOD, PROCESS_METHOD, PROCESS_SUCCESS_METHOD |
| Constructor Summary | |
|---|---|
BOMFilter(ConfigTree config)
Public constructor. |
|
| Method Summary | |
|---|---|
protected static byte[] |
getBOM(java.lang.String bomEncoding)
|
protected static boolean |
hasBOM(byte[] dataBuffer,
byte[] bom)
|
Message |
process(Message message)
Perform the action processing on the specified message. |
| Methods inherited from class org.jboss.soa.esb.actions.AbstractActionPipelineProcessor |
|---|
processException, processSuccess |
| Methods inherited from class org.jboss.soa.esb.actions.AbstractActionLifecycle |
|---|
destroy, initialise |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.soa.esb.actions.ActionLifecycle |
|---|
destroy, initialise |
| Constructor Detail |
|---|
public BOMFilter(ConfigTree config)
config - Config.| Method Detail |
|---|
public Message process(Message message)
throws ActionProcessingException
ActionPipelineProcessor
message - The current message being processed.
ActionProcessingException - for errors during processing.protected static byte[] getBOM(java.lang.String bomEncoding)
protected static boolean hasBOM(byte[] dataBuffer,
byte[] bom)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||