/** * Returns events. */ public List<EventType> events() throws InvalidArgumentException { return EventType.fromStringList(events); }
/** * Constructs a new ErrorResponse object by reading given reader stream. */ public DeleteError(Reader reader) throws IOException, XmlPullParserException { this(); this.parseXml(reader); } }
/** * Constructs a new XmlEntity class by parsing content from given reader input stream. */ public XmlEntity(Reader reader) throws IOException, XmlPullParserException { this(); this.parseXml(reader); }
public void deleteAll() throws Exception{ Iterable<Result<Item>> results = minioClient.listObjects(bucketName); for (Result<Item> result : results) { minioClient.removeObject(bucketName, result.get().objectName()); } if (minioClient.bucketExists(bucketName)) { minioClient.removeBucket(bucketName); } } }
/** * Sets event. */ public void setEvents(List<EventType> events) { this.events = EventType.toStringList(events); }
/** * Constructs a new ErrorResponseException with error response and HTTP response object. */ public ErrorResponseException(ErrorResponse errorResponse, Response response) { super(errorResponse.message()); this.errorResponse = errorResponse; this.response = response; }
/** * Constructs new delete result by parsing content on given reader. */ public DeleteResult(Reader reader) throws IOException, XmlPullParserException { super(); super.name = "DeleteResult"; this.parseXml(reader); }
/** * Constructs a new ErrorResponse object by reading given reader stream. */ public ErrorResponse(Reader reader) throws IOException, XmlPullParserException { this(); this.parseXml(reader); }
public void setSuffixRule(String value) throws InvalidArgumentException, XmlPullParserException { setRule("suffix", value); } }
/** * Returns events. */ public List<EventType> events() throws InvalidArgumentException { return EventType.fromStringList(events); }
/** * Sets event. */ public void setEvents(List<EventType> events) { this.events = EventType.toStringList(events); }
/** * Constructs a new ErrorResponse object by reading given reader stream. */ public DeleteError(Reader reader) throws IOException, XmlPullParserException { this(); this.parseXml(reader); } }
/** * Constructs a new XmlEntity class by parsing content from given reader input stream. */ public XmlEntity(Reader reader) throws IOException, XmlPullParserException { this(); this.parseXml(reader); }
/** * Constructs a new ErrorResponseException with error response and HTTP response object. */ public ErrorResponseException(ErrorResponse errorResponse, Response response) { super(errorResponse.message()); this.errorResponse = errorResponse; this.response = response; }
/** * Constructs new delete result by parsing content on given reader. */ public DeleteResult(Reader reader) throws IOException, XmlPullParserException { super(); super.name = "DeleteResult"; this.parseXml(reader); }
/** * Returns events. */ public List<EventType> events() throws InvalidArgumentException { return EventType.fromStringList(events); }
/** * Sets event. */ public void setEvents(List<EventType> events) { this.events = EventType.toStringList(events); }
/** * Returns events. */ public List<EventType> events() throws InvalidArgumentException { return EventType.fromStringList(events); }
/** * Sets event. */ public void setEvents(List<EventType> events) { this.events = EventType.toStringList(events); }
/** * Returns events. */ public List<EventType> events() throws InvalidArgumentException { return EventType.fromStringList(events); }