public interface IReportAdmin
| Modifier and Type | Method and Description |
|---|---|
void |
addFileSystem(java.lang.String type,
java.lang.String name,
java.lang.String config)
Add a filesystem to the repository.
|
void |
addJarFileSystem(java.lang.String name,
java.lang.String jarFile)
Add Jar archived file in the repository.
|
void |
addLocalFileSystem(java.lang.String name,
java.lang.String root)
Add a local directory structure as a new File System in the repository.
|
java.lang.String[] |
getFileNames(java.lang.String fileSystem)
List the names of files as template and datasources in a Filesystem.
|
java.lang.String[] |
getFileSystems()
List the names of the Filesystems in the repository.
|
java.lang.String[] |
getReportNames(java.lang.String fileSystem)
List the names of templates in a Filesystem.
|
void |
loadRepository(java.io.File repositoryXML)
Loads the repository filesystems from an XML file (such as the standard repository.xml)
|
void |
loadRepository(java.io.InputStream repositoryXML)
Loads the repository filesystems from an XML file passed as stream.
|
void |
refreshFileSystem(java.lang.String name)
Refresh Filesystem by re-scanning the source information.
|
void |
removeFileSystem(java.lang.String name)
Remove Filesystem.It will also clear rml object that is cached.
|
void loadRepository(java.io.File repositoryXML)
throws java.io.IOException
repositoryXML - The file containing the filesystems to be loadedjava.io.IOExceptionvoid loadRepository(java.io.InputStream repositoryXML)
throws java.io.IOException
repositoryXML - The stream containing the filesystems to be loadedjava.io.IOExceptionjava.lang.String[] getFileSystems()
java.lang.String[] getReportNames(java.lang.String fileSystem)
fileSystem - Filesystem namejava.lang.String[] getFileNames(java.lang.String fileSystem)
fileSystem - Filesystem namevoid addLocalFileSystem(java.lang.String name,
java.lang.String root)
name - Filesytem nameroot - Path to the root of the directory subtreevoid addJarFileSystem(java.lang.String name,
java.lang.String jarFile)
name - Filesystem namejarFile - Jar file pathvoid addFileSystem(java.lang.String type,
java.lang.String name,
java.lang.String config)
type - Filesystem type - eg. "local", "jar", etc.name - Filesystem nameconfig - Filesystem config string (content varies with type)void refreshFileSystem(java.lang.String name)
name - Filesystem namevoid removeFileSystem(java.lang.String name)
name - Filesystem name