|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContributionSource
Represents a source artifact that will be contributed to a domain or an updated version of an existing contribution.
| Method Summary | |
|---|---|
byte[] |
getChecksum()
Returns the source checksum. |
java.lang.String |
getContentType()
Returns the content type of the source |
java.net.URL |
getLocation()
If the source is local, returns the source URL |
java.io.InputStream |
getSource()
Returns a input stream for the source. |
long |
getTimestamp()
Returns the source timestamp. |
java.net.URI |
getUri()
Returns the identifier for this contribution or null if one has not been assigned (i.e. |
| Method Detail |
|---|
java.net.URI getUri()
java.io.InputStream getSource()
throws java.io.IOException
java.io.IOException - if an error occurs returning the streamjava.net.URL getLocation()
long getTimestamp()
byte[] getChecksum()
java.lang.String getContentType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||