mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 22:17:17 +00:00
More bukkit adapter stuff, load SQL schema from file, start work on MySQL implementation, start event processing
This commit is contained in:
1 parent
8e7d5e74a0
commit
bd52c99d4d
18 files changed
+973
-101
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package net.william278.huskhomes.util;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
/**
|
||||
* Abstract representation of a reader that reads internal resource files by name
|
||||
*/
|
||||
public interface ResourceReader {
|
||||
|
||||
/**
|
||||
* Gets the resource with given filename and reads it as an {@link InputStream}
|
||||
*
|
||||
* @param fileName Name of the resource file to read
|
||||
* @return The resource, read as an {@link InputStream}
|
||||
*/
|
||||
InputStream getResource(String fileName);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user