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

file.contract.AbstractFileManager Maven / Gradle / Ivy

package file.contract;

import file.util.verifier.StringVerifier;

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 repository path cannot to be null.");
		
		this.repositoryPath = repositoryPath;
	}

	@Override
	public String getRepositoryPath() {
		return this.repositoryPath;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy