To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Manages file content stored on a per tenant basis
Methods
Name | Returns | Notes | Example |
---|---|---|---|
toInputStream ( ob ) | InputStream | ||
streamToString ( in ) | String | ||
storeContent ( contentName, bin ) | long | Saves a content item to per-tenant content storage | |
storeContent ( dir, contentName, bin ) | long | ||
readContent ( contentName, consumer ) | void | ||
readContent ( dir, contentName, consumer ) | void | ||
contentExists ( contentName ) | boolean | ||
contentExists ( dir, contentName ) | boolean | ||
storeFile ( bin ) | String | Save the given content to the per-tenant blob store and return its hash | |
readFile ( hash ) | InputStream |