public abstract class ZipGrammar extends Gramar implements IGramar
gramarId, label, mainproduction, META_FILE_NAME, provider, sampleModels, taglibs
Constructor and Description |
---|
ZipGrammar() |
Modifier and Type | Method and Description |
---|---|
protected abstract ZipInputStream |
getZipInputStream() |
protected void |
readAllToCache() |
InputStream |
readTemplateBinary(String templateName) |
String |
readTemplateSource(String templateName) |
free, getId, getLabel, getMainProductionId, getProperties, getProvider, getSampleModel, getSamples, getTaglibs, getTemplate, getTemplateBinary, getTemplateSource, loadMeta, scoreApplicability, setPrimaryProductionId, storeSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
free, getId, getLabel, getMainProductionId, getProvider, getSampleModel, getSamples, getTemplate, getTemplateBinary, getTemplateSource, scoreApplicability, setPrimaryProductionId
public ZipGrammar() throws InvalidGramarException
InvalidGramarException
protected void readAllToCache() throws InvalidGramarException
InvalidGramarException
public String readTemplateSource(String templateName) throws NoSuchResourceException
readTemplateSource
in class Gramar
NoSuchResourceException
public InputStream readTemplateBinary(String templateName) throws NoSuchResourceException
readTemplateBinary
in class Gramar
NoSuchResourceException
protected abstract ZipInputStream getZipInputStream() throws Exception
Exception
Copyright © 2015. All rights reserved.