From d4054bc283ec8071fa3fce1650526c85bc2c5f98 Mon Sep 17 00:00:00 2001 From: tkellner Date: Thu, 12 Dec 2013 18:45:45 +0000 Subject: Abuse HashDataInput to store common default reference ID git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1252 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- STAL/src/main/java/at/gv/egiz/stal/HashDataInput.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'STAL/src/main/java/at') diff --git a/STAL/src/main/java/at/gv/egiz/stal/HashDataInput.java b/STAL/src/main/java/at/gv/egiz/stal/HashDataInput.java index 12ca654b..05c9bf1e 100644 --- a/STAL/src/main/java/at/gv/egiz/stal/HashDataInput.java +++ b/STAL/src/main/java/at/gv/egiz/stal/HashDataInput.java @@ -32,15 +32,17 @@ import java.io.InputStream; * @author clemens */ public interface HashDataInput { - + + public final static String CMS_DEF_REFERENCE_ID = "Reference-1"; + public String getReferenceId(); - + public String getMimeType(); - + public String getEncoding(); - + public String getFilename(); - + public InputStream getHashDataInput(); } -- cgit v1.2.3