com.anrisoftware.resources.binary.api.BinariesFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resources-binary Show documentation
Show all versions of resources-binary Show documentation
Contains the modules of the project.
/*
* Copyright 2012-2014 Erwin Müller
*
* This file is part of resources-binary.
*
* resources-binary is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* resources-binary is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with resources-binary. If not, see .
*/
package com.anrisoftware.resources.binary.api;
import java.util.ResourceBundle;
/**
* Factory to create a new binaries resources with the specified resource bundle
* base name and optional class loader and resource bundle control.
*
* @author Erwin Mueller, [email protected]
* @since 1.1
* @see Binaries
*/
public interface BinariesFactory {
/**
* Creates a new {@link Binaries} with the resource bundle base name and the
* caller's class loader.
*
* @param baseName
* the base name {@link String}.
*/
Binaries create(String baseName);
/**
* Creates a new {@link Binaries} with the resource bundle base name and the
* class loader.
*
* @param baseName
* the base name {@link String}.
*
* @param classLoader
* the {@link ClassLoader}.
*/
Binaries create(String baseName, ClassLoader classLoader);
/**
* Creates a new {@link Binaries} with the resource bundle base name and the
* control.
*
* @param baseName
* the base name {@link String}.
*
* @param control
* the {@link ResourceBundle.Control}.
*/
Binaries create(String baseName, ResourceBundle.Control control);
/**
* Creates a new {@link Binaries} with the resource bundle base name, the
* class loader and the control.
*
* @param baseName
* the base name {@link String}.
*
* @param classLoader
* the {@link ClassLoader}.
*
* @param control
* the {@link ResourceBundle.Control}.
*/
Binaries create(String baseName, ClassLoader classLoader,
ResourceBundle.Control control);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy