Package com.yworks.yguard.obf
Interface ResourceHandler
-
- All Known Implementing Classes:
ObfuscatorTask.ResourceAdjuster
public interface ResourceHandlerThe interface Resource handler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanfilterContent(java.io.InputStream in, java.io.OutputStream out, java.lang.String resourceName)Filter content boolean.booleanfilterName(java.lang.String inputName, java.lang.StringBuffer outputName)Filter name boolean.java.lang.StringfilterString(java.lang.String in, java.lang.String resourceName)Filter string string.
-
-
-
Method Detail
-
filterName
boolean filterName(java.lang.String inputName, java.lang.StringBuffer outputName)Filter name boolean.- Parameters:
inputName- the input nameoutputName- the output name- Returns:
- the boolean
-
filterContent
boolean filterContent(java.io.InputStream in, java.io.OutputStream out, java.lang.String resourceName) throws java.io.IOExceptionFilter content boolean.- Parameters:
in- the inout- the outresourceName- the resource name- Returns:
- the boolean
- Throws:
java.io.IOException- the io exception
-
filterString
java.lang.String filterString(java.lang.String in, java.lang.String resourceName) throws java.io.IOExceptionFilter string string.- Parameters:
in- the inresourceName- the resource name- Returns:
- the string
- Throws:
java.io.IOException- the io exception
-
-