com.espertech.esper.core.deploy
Class EPLModuleUtil

java.lang.Object
  extended by com.espertech.esper.core.deploy.EPLModuleUtil

public class EPLModuleUtil
extends java.lang.Object


Field Summary
static java.lang.String newline
          Newline character.
 
Constructor Summary
EPLModuleUtil()
           
 
Method Summary
static ParseNode getModule(EPLModuleParseItem item, java.lang.String resourceName)
           
static java.util.List<EPLModuleParseItem> parse(java.lang.String module)
           
static Module parseInternal(java.lang.String buffer, java.lang.String resourceName)
           
static Module readFile(java.io.File file)
           
static Module readInternal(java.io.InputStream stream, java.lang.String resourceName)
           
static Module readResource(java.lang.String resource)
           
static java.util.List<EventType> undeployTypes(java.util.Set<java.lang.String> referencedTypes, StatementEventTypeRef statementEventTypeRef, EventAdapterService eventAdapterService, FilterService filterService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newline

public static final java.lang.String newline
Newline character.

Constructor Detail

EPLModuleUtil

public EPLModuleUtil()
Method Detail

readInternal

public static Module readInternal(java.io.InputStream stream,
                                  java.lang.String resourceName)
                           throws java.io.IOException,
                                  ParseException
Throws:
java.io.IOException
ParseException

parseInternal

public static Module parseInternal(java.lang.String buffer,
                                   java.lang.String resourceName)
                            throws java.io.IOException,
                                   ParseException
Throws:
java.io.IOException
ParseException

undeployTypes

public static java.util.List<EventType> undeployTypes(java.util.Set<java.lang.String> referencedTypes,
                                                      StatementEventTypeRef statementEventTypeRef,
                                                      EventAdapterService eventAdapterService,
                                                      FilterService filterService)

getModule

public static ParseNode getModule(EPLModuleParseItem item,
                                  java.lang.String resourceName)
                           throws ParseException,
                                  java.io.IOException
Throws:
ParseException
java.io.IOException

parse

public static java.util.List<EPLModuleParseItem> parse(java.lang.String module)
                                                throws ParseException
Throws:
ParseException

readFile

public static Module readFile(java.io.File file)
                       throws java.io.IOException,
                              ParseException
Throws:
java.io.IOException
ParseException

readResource

public static Module readResource(java.lang.String resource)
                           throws java.io.IOException,
                                  ParseException
Throws:
java.io.IOException
ParseException

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com