/*
* Copyright 2008-2014 the original author or authors
*
* 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.kaleidofoundry.core.store;
import org.kaleidofoundry.core.lang.Charsets;
/**
* @author jraduget
*/
public interface FileStoreConstants {
/** Default charset to use for text in a fileStore */
Charsets DEFAULT_CHARSET = Charsets.UTF_8;
/** interface store declare plugin name */
String FileStorePluginName = "fileStores";
/** classpath implementation store plugin name */
String ClasspathStorePluginName = "fileStores.classpath";
/** file system implementation store plugin name */
String FileSystemStorePluginName = "fileStores.filesystem";
/** http implementation store plugin name */
String HttpStorePluginName = "fileStores.http";
/** ftp implementation store plugin name */
String FtpStorePluginName = "fileStores.ftp";
/** webapp implementation store plugin name */
String WebappStorePluginName = "fileStores.webapp";
/** jdbc implementation blob store plugin name */
String ClobJdbcStorePluginName = "fileStores.jdbc";
/** jpa implementation blob store plugin name */
String ClobJpaStorePluginName = "fileStores.jpa";
/** mocked in memory implementation plugin name */
String MemoryStorePluginName = "fileStores.memory";
/** Default buffer size for reading / writing */
int DEFAULT_BUFFER_SIZE = 512;
}