de.iai.ilcd.services
Class FileResource

java.lang.Object
  extended by de.iai.ilcd.services.FileResource

public class FileResource
extends java.lang.Object

REST Web Service

Author:
clemens.duepmeier

Field Summary
static org.slf4j.Logger logger
           
 
Constructor Summary
FileResource()
          Creates a new instance of FileResource
 
Method Summary
 javax.ws.rs.core.Response getExternalFile(java.lang.String sourceId, java.lang.String fileName)
           
 void putXml(java.lang.String content)
          PUT method for updating or creating an instance of FileResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static org.slf4j.Logger logger
Constructor Detail

FileResource

public FileResource()
Creates a new instance of FileResource

Method Detail

getExternalFile

public javax.ws.rs.core.Response getExternalFile(java.lang.String sourceId,
                                                 java.lang.String fileName)

putXml

public void putXml(java.lang.String content)
PUT method for updating or creating an instance of FileResource

Parameters:
content - representation for the resource