X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdatabase%2FImageProvider.java;fp=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdatabase%2FImageProvider.java;h=c9ad9e10359acefbc3ae5546c62a9a0ae3376bf2;hb=9d32a0f70e14a764946ae29edcf07304f9e5f75e;hp=0000000000000000000000000000000000000000;hpb=516dc04cff017c764741d164654d0091719cc173;p=Sone.git
diff --git a/src/main/java/net/pterodactylus/sone/database/ImageProvider.java b/src/main/java/net/pterodactylus/sone/database/ImageProvider.java
new file mode 100644
index 0000000..c9ad9e1
--- /dev/null
+++ b/src/main/java/net/pterodactylus/sone/database/ImageProvider.java
@@ -0,0 +1,33 @@
+/*
+ * Sone - ImageProvider.java - Copyright © 2013 David Roden
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+package net.pterodactylus.sone.database;
+
+import net.pterodactylus.sone.data.Image;
+
+import com.google.common.base.Optional;
+
+/**
+ * Provides {@link Image}.
+ *
+ * @author David Roden
+ */
+public interface ImageProvider {
+
+ Optional getImage(String imageId);
+
+}