yt4droid.parser
クラス UploadResultParser

java.lang.Object
  上位を拡張 yt4droid.parser.UploadResultParser
すべての実装されたインタフェース:
HttpResponceCode, UploadResult

public class UploadResultParser
extends java.lang.Object
implements UploadResult, HttpResponceCode


フィールドの概要
 
インタフェース yt4droid.http.HttpResponceCode から継承されたフィールド
BADREQUEST, CHUNK_OK, HTTP_OK, INTERNAL_ERROR, NOTFOUND, NOTIMPLEMENT, POST_OK, UNAUTHORIZED, UNAVALIVE
 
メソッドの概要
static java.lang.String createUploadUrl(HttpResponse res, Configuration conf)
           
static UploadResult createVideoID(HttpResponse res, Configuration conf)
           
 int getStatus()
          Returns value of http status.
 java.lang.String getVideoId()
          Returns value of videoId ID acquired from Youtube after an upload success of video.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

createVideoID

public static UploadResult createVideoID(HttpResponse res,
                                         Configuration conf)

createUploadUrl

public static java.lang.String createUploadUrl(HttpResponse res,
                                               Configuration conf)

getVideoId

public java.lang.String getVideoId()
インタフェース UploadResult の記述:
Returns value of videoId ID acquired from Youtube after an upload success of video.

定義:
インタフェース UploadResult 内の getVideoId
戻り値:
The value string

getStatus

public int getStatus()
インタフェース UploadResult の記述:
Returns value of http status.

定義:
インタフェース UploadResult 内の getStatus
戻り値:
The value integer