src/de/uhilger/mediaz/api/ListFileHandler.java | ●●●●● patch | view | raw | blame | history | |
src/de/uhilger/mediaz/store/StorageFile.java | ●●●●● patch | view | raw | blame | history |
src/de/uhilger/mediaz/api/ListFileHandler.java
@@ -44,9 +44,9 @@ StorageFile sf = new StorageFile(); sf.setName(file.getName()); if(file.isDirectory()) { sf.setTyp("folder"); sf.setTyp(StorageFile.TYP_FOLDER); } else { sf.setTyp("file"); sf.setTyp(StorageFile.TYP_FILE); } list.add(sf); } src/de/uhilger/mediaz/store/StorageFile.java
@@ -10,6 +10,10 @@ * @author ulrich */ public class StorageFile { public static final String TYP_FOLDER = "folder"; public static final String TYP_FILE = "file"; private String name; private String typ;