public StoredObject getObject ( String id ) { if ( id . contains ( ".." ) || id . contains ( "/" ) || id . contains ( "\\" ) ) { throw Exceptions . createHandled ( ) . withSystemErrorMessage ( "Invalid object name: %s. A object name must not contain '..' '/' or '\\'" , id ) . handle ( ) ; } return new StoredObject ( new File ( file , id ) ) ; }
Returns the child object with the given id .