com.legyver.fenxlib.widgets.filetree.license.LicenseServiceImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fenxlib.widgets.filetree Show documentation
Show all versions of fenxlib.widgets.filetree Show documentation
FileTree widget for Fenxlib projects
package com.legyver.fenxlib.widgets.filetree.license;
import com.legyver.core.license.LicenseService;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* Supply license information for libraries used by this module
*
*/
public class LicenseServiceImpl implements LicenseService {
@Override
public Properties loadLicenseProperties() throws IOException {
Properties properties = new Properties();
try (InputStream inputStream = LicenseServiceImpl.class.getResourceAsStream("license.properties")) {
properties.load(inputStream);
}
return properties;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy