public class DefaultMetaInfService extends Object implements MetaInfService
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LINES |
protected static String |
PROPERTIES |
protected static String |
SIZE |
| Constructor and Description |
|---|
DefaultMetaInfService() |
protected static final String PROPERTIES
protected static final String SIZE
protected static final String LINES
public DefaultMetaInfService()
public ScanResult scan(MetaInfContext context)
scan in interface MetaInfServicepublic List<ScanResult> scan(List<MetaInfContext> contexts)
scan in interface MetaInfServicepublic void write(ScanResult result)
write in interface MetaInfServiceprotected WriteLines getWriteLines(ScanResult result)
public void write(List<ScanResult> results)
write in interface MetaInfServiceprotected void write(WriteRequest request, List<String> lines)
protected List<WriteProperties> getWriteProperties(List<ScanResult> results)
protected WriteProperties getWriteProperties(ScanResult result)
protected List<WriteLines> getWriteLines(List<ScanResult> results)
protected List<File> scanFileSystem(MetaInfContext context)
protected List<MetaInfResource> getResources(MetaInfContext context, List<File> files)
protected MetaInfResource getResource(File resourceFile, MetaInfContext context)
protected String getLocationURL(CanonicalFile resourceFile, MetaInfContext context)
protected String getRelativeLocationURL(CanonicalFile resourceFile, MetaInfContext context)
file. This is usually a Spring pseudo-url classpath location, eg - [classpath:foo/bar.txt]resourceFile - The file to get a location url for. eg - [/x/y/z/src/main/resources/foo/bar.txt]context - Context information for generating a relative location url. eg - [/x/y/z/src/main/resources] and [classpath:].file. eg - [classpath:foo/bar.txt]protected String getPropertyKey(String location)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.