![JAR search and dependency download from the Maven repository](/logo.png)
org.everit.i18n.propsxlsconverter.I18nConverter Maven / Gradle / Ivy
/*
* Copyright (C) 2011 Everit Kft. (http://www.everit.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.everit.i18n.propsxlsconverter;
/**
* Define the property xls converter functions.
*/
public interface I18nConverter {
/**
* Export language files to one XLS file.
*
* @param xlsFileName
* the name of the exported XLS file. Cannot be null
or empty.
* @param workingDirectory
* the working directory (Example: c:\\temp or /tmp). Cannot be null
or
* empty. Must be directory.
* @param fileRegularExpression
* the regex expression to find files which want to export to XLS file. Example:
* .*\.properties$ to find all properties files. Cannot be null
or empty.
* Must be valid expression.
* @param languages
* the languages which want to search. Cannot be null
.
*/
void exportToXls(String xlsFileName, String workingDirectory,
String fileRegularExpression, String[] languages);
/**
* Import XLS file to langauges files.
*
* @param xlsFileName
* the name of the imported XLS file. Cannot be null
or empty.
* @param workingDirectory
* the working directory (Example: c:\\temp or /tmp). Cannot be null
or
* empty. Must be an existing directory.
*/
void importFromXls(String xlsFileName, String workingDirectory);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy