[libbluray-devel] Removed old java files

hpi1 git at videolan.org
Sun Sep 23 20:32:32 CEST 2012


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Sep 19 12:59:58 2012 +0300| [9a74f3652fedbaf612d141501c80e78659e023f2] | committer: hpi1

Removed old java files

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=9a74f3652fedbaf612d141501c80e78659e023f2
---

 .../bdj/java/org/videolan/bdjo/AppBinding.java     |   37 --------------------
 .../bdj/java/org/videolan/bdjo/AppCacheType.java   |   36 -------------------
 .../bdj/java/org/videolan/bdjo/AppName.java        |   26 --------------
 .../bdj/java/org/videolan/bdjo/AppType.java        |   37 --------------------
 .../bdj/java/org/videolan/bdjo/AppVisibility.java  |   37 --------------------
 .../bdj/java/org/videolan/bdjo/ControlCode.java    |   36 -------------------
 6 files changed, 209 deletions(-)

diff --git a/src/libbluray/bdj/java/org/videolan/bdjo/AppBinding.java b/src/libbluray/bdj/java/org/videolan/bdjo/AppBinding.java
deleted file mode 100644
index cd34ca8..0000000
--- a/src/libbluray/bdj/java/org/videolan/bdjo/AppBinding.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.videolan.bdjo;
-
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-public enum AppBinding {
-    TITLE_UNBOUND_DISC_UNBOUND(0),
-    TITLE_UNBOUND_DISC_BOUND(1),
-    TITLE_BOUND_DISC_BOUND(3);
-    
-    AppBinding(int id)
-    {
-        this.id = id;
-    }
-    
-    public int getId()
-    {
-        return id;
-    }
-    
-    
-    public static AppBinding fromId(int id)
-    {
-        for (AppBinding res : values())
-        {
-            if (res.getId() == id)
-                return res;
-        }
-        
-        logger.log(Level.WARNING, "Invalid app binding id: " + id);
-        return null;
-    }
-    
-    private int id;
-    
-    private static final Logger logger = Logger.getLogger(AppBinding.class.getName());
-}
diff --git a/src/libbluray/bdj/java/org/videolan/bdjo/AppCacheType.java b/src/libbluray/bdj/java/org/videolan/bdjo/AppCacheType.java
deleted file mode 100644
index f2078b4..0000000
--- a/src/libbluray/bdj/java/org/videolan/bdjo/AppCacheType.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package org.videolan.bdjo;
-
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-public enum AppCacheType {
-    JAR_FILE(1),
-    DIRECTORY(2);
-    
-    AppCacheType(int id)
-    {
-        this.id = id;
-    }
-    
-    public int getId()
-    {
-        return id;
-    }
-    
-    
-    public static AppCacheType fromId(int id)
-    {
-        for (AppCacheType res : values())
-        {
-            if (res.getId() == id)
-                return res;
-        }
-        
-        logger.log(Level.WARNING, "Invalid control code id: " + id);
-        return null;
-    }
-    
-    private int id;
-    
-    private static final Logger logger = Logger.getLogger(AppCacheType.class.getName());
-}
diff --git a/src/libbluray/bdj/java/org/videolan/bdjo/AppName.java b/src/libbluray/bdj/java/org/videolan/bdjo/AppName.java
deleted file mode 100644
index 7c2448b..0000000
--- a/src/libbluray/bdj/java/org/videolan/bdjo/AppName.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.videolan.bdjo;
-
-public class AppName {
-    public AppName(String language, String name) {
-        this.language = language;
-        this.name = name;
-    }
-
-    public String getLanguage() 
-    {
-        return language;
-    }
-    
-    public String getName()
-    {
-        return name;
-    }
-    
-    public String toString()
-    {
-        return "AppName [language=" + language + ", name=" + name + "]";
-    }
-    
-    private String language;
-    private String name;
-}
diff --git a/src/libbluray/bdj/java/org/videolan/bdjo/AppType.java b/src/libbluray/bdj/java/org/videolan/bdjo/AppType.java
deleted file mode 100644
index 9f654f0..0000000
--- a/src/libbluray/bdj/java/org/videolan/bdjo/AppType.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.videolan.bdjo;
-
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-public enum AppType
-{
-    DVB_J(1),
-    DVB_HTML(2);
-    
-    AppType(int id)
-    {
-        this.id = id;
-    }
-    
-    public int getId()
-    {
-        return id;
-    }
-    
-    
-    public static AppType fromId(int id)
-    {
-        for (AppType res : values())
-        {
-            if (res.getId() == id)
-                return res;
-        }
-        
-        logger.log(Level.WARNING, "Invalid app type id: " + id);
-        return null;
-    }
-    
-    private int id;
-    
-    private static final Logger logger = Logger.getLogger(AppType.class.getName());
-}
diff --git a/src/libbluray/bdj/java/org/videolan/bdjo/AppVisibility.java b/src/libbluray/bdj/java/org/videolan/bdjo/AppVisibility.java
deleted file mode 100644
index af05966..0000000
--- a/src/libbluray/bdj/java/org/videolan/bdjo/AppVisibility.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.videolan.bdjo;
-
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-public enum AppVisibility {
-    NOT_VISIBLE(0),
-    VISIBLE_TO_APPS(1),
-    VISIBLE_TO_APPS_AND_USERS(3);
-    
-    AppVisibility(int id)
-    {
-        this.id = id;
-    }
-    
-    public int getId()
-    {
-        return id;
-    }
-    
-    
-    public static AppVisibility fromId(int id)
-    {
-        for (AppVisibility res : values())
-        {
-            if (res.getId() == id)
-                return res;
-        }
-        
-        logger.log(Level.WARNING, "Invalid app visibility id: " + id);
-        return null;
-    }
-    
-    private int id;
-    
-    private static final Logger logger = Logger.getLogger(AppVisibility.class.getName());
-}
diff --git a/src/libbluray/bdj/java/org/videolan/bdjo/ControlCode.java b/src/libbluray/bdj/java/org/videolan/bdjo/ControlCode.java
deleted file mode 100644
index 0254275..0000000
--- a/src/libbluray/bdj/java/org/videolan/bdjo/ControlCode.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package org.videolan.bdjo;
-
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-public enum ControlCode {
-    AUTOSTART(1),
-    PRESENT(2);
-    
-    ControlCode(int id)
-    {
-        this.id = id;
-    }
-    
-    public int getId()
-    {
-        return id;
-    }
-    
-    
-    public static ControlCode fromId(int id)
-    {
-        for (ControlCode res : values())
-        {
-            if (res.getId() == id)
-                return res;
-        }
-        
-        logger.log(Level.WARNING, "Invalid control code id: " + id);
-        return null;
-    }
-    
-    private int id;
-    
-    private static final Logger logger = Logger.getLogger(ControlCode.class.getName());
-}



More information about the libbluray-devel mailing list