public class EPLModuleUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NEWLINE
Newline character.
|
Constructor and Description |
---|
EPLModuleUtil() |
Modifier and Type | Method and Description |
---|---|
static ParseNode |
getModule(EPLModuleParseItem item,
String resourceName) |
static List<EPLModuleParseItem> |
parse(String module) |
static Module |
parseInternal(String buffer,
String resourceName) |
static Module |
readFile(File file) |
static Module |
readInternal(InputStream stream,
String resourceName) |
static Module |
readResource(String resource,
EngineImportService engineImportService) |
static List<EventType> |
undeployTypes(Set<String> referencedTypes,
StatementEventTypeRef statementEventTypeRef,
EventAdapterService eventAdapterService,
FilterService filterService) |
public static final String NEWLINE
public static Module readInternal(InputStream stream, String resourceName) throws IOException, ParseException
IOException
ParseException
public static Module parseInternal(String buffer, String resourceName) throws IOException, ParseException
IOException
ParseException
public static List<EventType> undeployTypes(Set<String> referencedTypes, StatementEventTypeRef statementEventTypeRef, EventAdapterService eventAdapterService, FilterService filterService)
public static ParseNode getModule(EPLModuleParseItem item, String resourceName) throws ParseException, IOException
ParseException
IOException
public static List<EPLModuleParseItem> parse(String module) throws ParseException
ParseException
public static Module readFile(File file) throws IOException, ParseException
IOException
ParseException
public static Module readResource(String resource, EngineImportService engineImportService) throws IOException, ParseException
IOException
ParseException