Persoenliche Mediazentrale
ulrich
2021-04-06 822ddf5649666248df1c7436d237e50fd79646dc
Katalog (in Arbeit)
2 files modified
8 ■■■■ changed files
src/de/uhilger/mediaz/api/ListFileHandler.java 4 ●●●● patch | view | raw | blame | history
src/de/uhilger/mediaz/store/StorageFile.java 4 ●●●● 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;