Created
October 10, 2013 13:11
-
-
Save tsegismont/6918069 to your computer and use it in GitHub Desktop.
ContentManagerRemote
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Creates a temporary file for fragmented content upload. | |
| * | |
| * @return a temporary file handle | |
| */ | |
| String createTemporaryContentHandle(); | |
| /** | |
| * Saves the fragment in the temporary file denoted by <code>temporaryContentHandle</code>. | |
| * | |
| * The <code>fragment</code> bytes will be copied starting from the <code>off</code> index up to the minimum of | |
| * <code>off+len</code> and <code>fragment.length</code>. | |
| * | |
| * @param temporaryContentHandle temporary file handle | |
| * @param fragment fragment bytes | |
| */ | |
| void uploadContentFragment(String temporaryContentHandle, byte[] fragment, int off, int len); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment