
br.com.jhonsapp.file.manager.contract.AbstractFileManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of file-manager Show documentation
Show all versions of file-manager Show documentation
File Manager is an open source project created by Jhonys Camacho and Jhonathan Camacho to facilitate the file management in local and remote repositories.
package br.com.jhonsapp.file.manager.contract;
import br.com.jhonsapp.util.verifier.StringVerifier;
/**
* Abstraction for FileManager
*
* @see FileManager
*
* @author Jhonathan Camacho
*
*/
public abstract class AbstractFileManager implements FileManager {
/**
* Generated serial version id created at 09 July 2017.
*/
private static final long serialVersionUID = 5649731853749043050L;
private String repositoryPath;
public AbstractFileManager(String repositoryPath) {
if (StringVerifier.isBlanck(repositoryPath))
throw new IllegalArgumentException("The repositoryPath cannot to be null.");
this.repositoryPath = repositoryPath;
}
@Override
public String getRepositoryPath() {
return this.repositoryPath;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy