public BoxFile . Info getFileInfo ( String fileID ) { URL url = FILE_INFO_URL_TEMPLATE . build ( this . api . getBaseURL ( ) , fileID ) ; BoxAPIRequest request = new BoxAPIRequest ( this . api , url , "GET" ) ; BoxJSONResponse response = ( BoxJSONResponse ) request . send ( ) ; JsonObject jsonObject = JsonObject . readFrom ( response . getJSON ( ) ) ; BoxFile file = new BoxFile ( this . api , jsonObject . get ( "id" ) . asString ( ) ) ; return file . new Info ( response . getJSON ( ) ) ; }
Gets information about a trashed file .