Package org.eclipse.epsilon.egl.config
Class XMLContentTypeRepository
- java.lang.Object
-
- org.eclipse.epsilon.egl.config.XMLContentTypeRepository
-
- All Implemented Interfaces:
ContentTypeRepository
public class XMLContentTypeRepository extends java.lang.Object implements ContentTypeRepository
-
-
Constructor Summary
Constructors Constructor Description XMLContentTypeRepository(java.io.InputStream config)
XMLContentTypeRepository(IEglContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
load(java.io.InputStream path)
CompositePartitioner
partitionerFor(java.lang.String contentType)
-
-
-
Constructor Detail
-
XMLContentTypeRepository
public XMLContentTypeRepository(IEglContext context)
-
XMLContentTypeRepository
public XMLContentTypeRepository(java.io.InputStream config) throws PersistenceException
- Throws:
PersistenceException
-
-
Method Detail
-
load
public void load(java.io.InputStream path) throws PersistenceException
- Specified by:
load
in interfaceContentTypeRepository
- Throws:
PersistenceException
-
partitionerFor
public CompositePartitioner partitionerFor(java.lang.String contentType)
- Specified by:
partitionerFor
in interfaceContentTypeRepository
-
-