Class EPLModuleUtil
java.lang.Object
com.espertech.esper.compiler.internal.util.EPLModuleUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParseNode
getModule
(EPLModuleParseItem item, String resourceName) static List<EPLModuleParseItem>
static com.espertech.esper.common.client.module.Module
parseInternal
(String buffer, String resourceName) static com.espertech.esper.common.client.module.Module
static com.espertech.esper.common.client.module.Module
readInternal
(InputStream stream, String resourceName) static com.espertech.esper.common.client.module.Module
readResource
(String resource, ClassLoader classLoader)
-
Field Details
-
NEWLINE
Newline character.
-
-
Constructor Details
-
EPLModuleUtil
public EPLModuleUtil()
-
-
Method Details
-
readInternal
public static com.espertech.esper.common.client.module.Module readInternal(InputStream stream, String resourceName) throws IOException, com.espertech.esper.common.client.module.ParseException - Throws:
IOException
com.espertech.esper.common.client.module.ParseException
-
parseInternal
public static com.espertech.esper.common.client.module.Module parseInternal(String buffer, String resourceName) throws IOException, com.espertech.esper.common.client.module.ParseException - Throws:
IOException
com.espertech.esper.common.client.module.ParseException
-
getModule
public static ParseNode getModule(EPLModuleParseItem item, String resourceName) throws com.espertech.esper.common.client.module.ParseException, IOException - Throws:
com.espertech.esper.common.client.module.ParseException
IOException
-
parse
public static List<EPLModuleParseItem> parse(String module) throws com.espertech.esper.common.client.module.ParseException - Throws:
com.espertech.esper.common.client.module.ParseException
-
readFile
public static com.espertech.esper.common.client.module.Module readFile(File file) throws IOException, com.espertech.esper.common.client.module.ParseException - Throws:
IOException
com.espertech.esper.common.client.module.ParseException
-
readResource
public static com.espertech.esper.common.client.module.Module readResource(String resource, ClassLoader classLoader) throws IOException, com.espertech.esper.common.client.module.ParseException - Throws:
IOException
com.espertech.esper.common.client.module.ParseException
-