com.poiji.util.Files Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of poiji2 Show documentation
Show all versions of poiji2 Show documentation
Perfect annotation based library to read and write excel files
package com.poiji.util;
/**
* Created by hakan on 17/01/2017.
*/
public final class Files {
private static final Files instance = new Files();
public static Files getInstance() {
return instance;
}
private Files() {
}
public String getExtension(String fileName) {
int i = fileName.lastIndexOf('.');
if (i >= 0) {
return fileName.substring(i);
}
return "";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy