All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.jhonsapp.file.manager.contract.AbstractFileManager Maven / Gradle / Ivy

Go to download

File Manager is an open source project created by Jhonys Camacho and Jhonathan Camacho to facilitate the file management in local and remote repositories.

The newest version!
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