mirror of
https://github.com/Maschell/JWUPClient.git
synced 2024-06-28 12:16:08 +02:00
53 lines
1.1 KiB
Java
53 lines
1.1 KiB
Java
![]() |
package de.mas.wupclient;
|
||
|
|
||
|
public class ReadDirReturn {
|
||
|
private int result;
|
||
|
private String filename;
|
||
|
private boolean isFile;
|
||
|
private byte[] unknowndata;
|
||
|
|
||
|
public ReadDirReturn(int result,String filename, boolean isFile, byte[] unknowndata) {
|
||
|
setResult(result);
|
||
|
setFilename(filename);
|
||
|
setFile(isFile);
|
||
|
setUnknowndata(unknowndata);
|
||
|
}
|
||
|
|
||
|
public ReadDirReturn(int resultValue) {
|
||
|
setResult(resultValue);
|
||
|
}
|
||
|
|
||
|
public byte[] getUnknowndata() {
|
||
|
return unknowndata;
|
||
|
}
|
||
|
|
||
|
public void setUnknowndata(byte[] unknowndata) {
|
||
|
this.unknowndata = unknowndata;
|
||
|
}
|
||
|
|
||
|
public boolean isFile() {
|
||
|
return isFile;
|
||
|
}
|
||
|
|
||
|
public void setFile(boolean isFile) {
|
||
|
this.isFile = isFile;
|
||
|
}
|
||
|
|
||
|
public String getFilename() {
|
||
|
return filename;
|
||
|
}
|
||
|
|
||
|
public void setFilename(String filename) {
|
||
|
this.filename = filename;
|
||
|
}
|
||
|
|
||
|
public int getResult() {
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
public void setResult(int result) {
|
||
|
this.result = result;
|
||
|
}
|
||
|
|
||
|
}
|