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

com.github.matheusesoft.alm.api.utils.FilePath Maven / Gradle / Ivy

package com.github.matheusesoft.alm.api.utils;

import java.io.InputStream;

public class FilePath {
	private static FilePath filePath;
	
	private FilePath(){
		
	}
	
	public static FilePath getInstance() {
		if(filePath == null)
		{
			filePath = new FilePath();
		}
		return filePath;
	}
	
	public InputStream readInputStreamFromClasspath(String nomeArquivo)
    {
        return getClass().getResourceAsStream("/"+nomeArquivo);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy