public abstract class RushFile extends RushObject
Modifier and Type | Method and Description |
---|---|
void |
delete() |
void |
delete(RushCallback callback) |
File |
file() |
abstract String |
fileExtension() |
boolean |
hasFile() |
InputStream |
readFormFile() |
void |
writeToFile(byte[] bytes) |
getId, save, save, saveOnlyWithoutConflict, saveOnlyWithoutConflict
public RushFile(String directory)
public RushFile()
public abstract String fileExtension()
public File file()
public boolean hasFile()
public void writeToFile(byte[] bytes) throws IOException
IOException
public InputStream readFormFile() throws IOException
IOException
public void delete()
delete
in interface Rush
delete
in class RushObject
public void delete(RushCallback callback)
delete
in interface Rush
delete
in class RushObject
Copyright © 2017. All rights reserved.