com.qiniu.interfaces.IResultOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qsuits Show documentation
Show all versions of qsuits Show documentation
qiniu-suits is a efficient tools for qiniu api implemented by java8.
package com.qiniu.interfaces;
import java.io.*;
public interface IResultOutput {
void changePrefixAndSuffix(String prefix, String suffix);
void setRetryTimes(int retryTimes);
String getSavePath();
String getPrefix();
String getSuffix();
void preAddWriter(String key);
void addWriter(String key) throws IOException;
void closeWriters();
void writeToKey(String key, String item, boolean flush) throws IOException;
void writeSuccess(String item, boolean flush) throws IOException;
void writeError(String item, boolean flush) throws IOException;
void clear(String key) throws IOException;
}