2015-01-11 09:23:43 +01:00
|
|
|
package com.rarchives.ripme.ui;
|
|
|
|
|
|
|
|
import java.io.File;
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
public class RipStatusComplete {
|
|
|
|
File dir = null;
|
|
|
|
int count = 0;
|
|
|
|
|
|
|
|
public RipStatusComplete(File dir) {
|
|
|
|
this.dir = dir;
|
|
|
|
this.count = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
public RipStatusComplete(File dir, int count) {
|
|
|
|
this.dir = dir;
|
|
|
|
this.count = count;
|
|
|
|
}
|
2017-06-19 19:32:57 +02:00
|
|
|
|
2015-01-11 09:23:43 +01:00
|
|
|
public String getDir() {
|
|
|
|
String result;
|
|
|
|
try {
|
|
|
|
result = this.dir.getCanonicalPath();
|
|
|
|
} catch (IOException e) {
|
|
|
|
result = this.dir.toString();
|
|
|
|
}
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|