Package com.tagtraum.beatunes.onlinedb
Class LibraryRequestBody
- java.lang.Object
-
- java.io.InputStream
-
- com.tagtraum.beatunes.onlinedb.LibraryRequestBody
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class LibraryRequestBody extends InputStream
LibraryRequestBody.- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
endSequence()
String
itemsStartSequence()
String
listsStartSequence()
int
read()
int
read(byte[] bytes, int offset, int length)
-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
LibraryRequestBody
public LibraryRequestBody(Iterable<AudioSong> songs, Long library, Long user, Set<String> excludedProperties) throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
-
LibraryRequestBody
public LibraryRequestBody(Iterable<AudioSong> songs, Iterable<PlayList> playlists, Long library, Long user, Set<String> excludedProperties) throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
-
-
Method Detail
-
read
public int read(byte[] bytes, int offset, int length) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
endSequence
public String endSequence()
-
itemsStartSequence
public String itemsStartSequence()
-
listsStartSequence
public String listsStartSequence()
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
-