public class LocaleFilesProcessor extends Object
Constructor and Description |
---|
LocaleFilesProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
createLocaleEntry(String filePath,
String name,
String title,
String description,
RepositoryFile file,
InputStream is) |
boolean |
createLocaleEntry(String filePath,
String name,
String title,
String description,
RepositoryFile file,
InputStream is,
int sourceVersion) |
boolean |
isLocaleFile(ImportSource.IRepositoryFileBundle file,
String parentPath,
byte[] bytes) |
Properties |
loadProperties(InputStream inputStream) |
void |
processLocaleFiles(IPlatformImporter importer) |
public boolean isLocaleFile(ImportSource.IRepositoryFileBundle file, String parentPath, byte[] bytes) throws IOException
file
- parentPath
- bytes
- IOException
public Properties loadProperties(InputStream inputStream) throws IOException
IOException
public boolean createLocaleEntry(String filePath, String name, String title, String description, RepositoryFile file, InputStream is) throws IOException
IOException
public boolean createLocaleEntry(String filePath, String name, String title, String description, RepositoryFile file, InputStream is, int sourceVersion) throws IOException
IOException
public void processLocaleFiles(IPlatformImporter importer) throws PlatformImportException
PlatformImportException
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.