org.openrdf.server.metadata.concepts
Interface WebResource

All Superinterfaces:
RDFObject, RDFResource
All Known Implementing Classes:
NamedGraphSupport, WebResourceSupport

public interface WebResource
extends RDFResource

A resource that was uploaded to the server.

Author:
James Leigh

Field Summary
 
Fields inherited from interface org.openrdf.repository.object.RDFObject
GET_CONNECTION, GET_RESOURCE
 
Method Summary
 void extractMetadata(File file)
           
 String getContentMD5()
           
 String getMediaType()
           
 URI getURI()
           
 String identityTag()
           
 String mimeType()
           
 void setContentMD5(String digest)
           
 void setMediaType(String mediaType)
           
 
Methods inherited from interface org.openrdf.server.metadata.concepts.RDFResource
getRedirect, getRevision, lastModified, setRedirect, setRevision, variantTag
 
Methods inherited from interface org.openrdf.repository.object.RDFObject
getObjectConnection, getResource
 

Method Detail

getURI

URI getURI()

identityTag

String identityTag()

getMediaType

String getMediaType()

setMediaType

void setMediaType(String mediaType)

getContentMD5

String getContentMD5()

setContentMD5

void setContentMD5(String digest)

mimeType

String mimeType()

extractMetadata

void extractMetadata(File file)
                     throws RepositoryException,
                            IOException
Throws:
RepositoryException
IOException


Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.