Package com.clickntap.vimeo
Class Vimeo
java.lang.Object
com.clickntap.vimeo.Vimeo
public class Vimeo extends Object
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Vimeo
-
Vimeo
-
-
Method Details
-
getVideoInfo
- Throws:
IOException
-
get
- Throws:
IOException
-
get
- Throws:
IOException
-
post
- Throws:
IOException
-
post
- Throws:
IOException
-
put
- Throws:
IOException
-
put
- Throws:
IOException
-
delete
- Throws:
IOException
-
delete
- Throws:
IOException
-
patch
- Throws:
IOException
-
patch
- Throws:
IOException
-
updateVideoMetadata
public VimeoResponse updateVideoMetadata(String videoEndpoint, String name, String description, String license, String privacyView, String privacyEmbed, boolean reviewLink) throws IOException- Throws:
IOException
-
addVideoPrivacyDomain
public VimeoResponse addVideoPrivacyDomain(String videoEndpoint, String domain) throws org.apache.http.client.ClientProtocolException, UnsupportedEncodingException, IOException- Throws:
org.apache.http.client.ClientProtocolExceptionUnsupportedEncodingExceptionIOException
-
getVideoPrivacyDomains
- Throws:
IOException
-
removeVideo
- Throws:
IOException
-
setVideoThumb
public VimeoResponse setVideoThumb(String videoEndpoint, float time, boolean active) throws IOException- Throws:
IOException
-
getMe
- Throws:
IOException
-
getVideos
- Throws:
IOException
-
searchVideos
- Throws:
IOException
-
searchVideos
public VimeoResponse searchVideos(String query, String pageNumber, String itemsPerPage) throws IOException- Throws:
IOException
-
beginUploadVideo
- Throws:
IOException
-
uploadVideo
- Throws:
IOException
-
uploadVideo
- Throws:
IOException
-
uploadVideo
public VimeoResponse uploadVideo(InputStream inputStream, String uploadLinkSecure) throws IOException- Throws:
IOException
-
endUploadVideo
- Throws:
IOException
-
addVideo
- Throws:
IOExceptionVimeoException
-
addVideo
- Throws:
IOExceptionVimeoException
-
addVideo
public String addVideo(InputStream inputStream, boolean upgradeTo1080) throws IOException, VimeoException- Throws:
IOExceptionVimeoException
-
likesVideo
- Throws:
IOException
-
likeVideo
- Throws:
IOException
-
unlikeVideo
- Throws:
IOException
-
checkEmbedPreset
- Throws:
IOException
-
addEmbedPreset
- Throws:
IOException
-
removeEmbedPreset
- Throws:
IOException
-
getTextTracks
- Throws:
IOException
-
getTextTrack
- Throws:
IOException
-
addTextTrack
public String addTextTrack(String videoEndPoint, File file, boolean active, String type, String language, String name) throws IOException, VimeoException- Throws:
IOExceptionVimeoException
-
addTextTrack
public String addTextTrack(String videoEndPoint, byte[] bytes, boolean active, String type, String language, String name) throws IOException, VimeoException- Throws:
IOExceptionVimeoException
-
addTextTrack
public String addTextTrack(String videoEndPoint, InputStream inputStream, boolean active, String type, String language, String name) throws IOException, VimeoException- Throws:
IOExceptionVimeoException
-
updateTextTrack
public VimeoResponse updateTextTrack(String videoEndPoint, String textTrackUri, boolean active, String type, String language, String name) throws IOException- Throws:
IOException
-
removeTextTrack
- Throws:
IOException
-
getProxy
-
setProxy
-
apiRequest
protected VimeoResponse apiRequest(String endpoint, String methodName, Map<String,String> params, InputStream inputStream) throws IOException- Throws:
IOException
-