We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c545057 commit e22caffCopy full SHA for e22caff
1 file changed
src/main/java/de/bluecolored/bluemap/api/BlueMapAPI.java
@@ -30,6 +30,7 @@
30
31
import java.awt.image.BufferedImage;
32
import java.io.IOException;
33
+import java.nio.file.Path;
34
import java.util.*;
35
import java.util.concurrent.ExecutionException;
36
import java.util.function.Consumer;
@@ -105,7 +106,13 @@ public abstract class BlueMapAPI {
105
106
* @throws IOException If an {@link IOException} is thrown while writing the image
107
*/
108
public abstract String createImage(BufferedImage image, String path) throws IOException;
-
109
+
110
+ /**
111
+ * Getter for the configured web-root folder
112
+ * @return The {@link Path} of the web-root folder
113
+ */
114
+ public abstract Path getWebRoot();
115
116
/**
117
* Getter for the installed BlueMap version
118
* @return the version-string
0 commit comments