moving from eu.alefzero.eu to com.owncloud.android
[pub/Android/ownCloud.git] / src / eu / alefzero / owncloud / db / ProviderMeta.java
diff --git a/src/eu/alefzero/owncloud/db/ProviderMeta.java b/src/eu/alefzero/owncloud/db/ProviderMeta.java
deleted file mode 100644 (file)
index b134ae6..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-/* ownCloud Android client application\r
- *   Copyright (C) 2011  Bartek Przybylski\r
- *\r
- *   This program is free software: you can redistribute it and/or modify\r
- *   it under the terms of the GNU General Public License as published by\r
- *   the Free Software Foundation, either version 3 of the License, or\r
- *   (at your option) any later version.\r
- *\r
- *   This program is distributed in the hope that it will be useful,\r
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
- *   GNU General Public License for more details.\r
- *\r
- *   You should have received a copy of the GNU General Public License\r
- *   along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
- *\r
- */\r
-package eu.alefzero.owncloud.db;\r
-\r
-import android.net.Uri;\r
-import android.provider.BaseColumns;\r
-\r
-/**\r
- * Meta-Class that holds various static field information\r
- * @author Bartek Przybylski\r
- *\r
- */\r
-public class ProviderMeta {\r
-\r
-  public static final String AUTHORITY_FILES = "org.owncloud";\r
-  public static final String DB_FILE = "owncloud.db";\r
-  public static final String DB_NAME = "filelist";\r
-  public static final int DB_VERSION = 1;\r
-  \r
-  private ProviderMeta() { }\r
-  \r
-  static public class ProviderTableMeta implements BaseColumns {\r
-    public static final String DB_NAME = "filelist";\r
-    public static final Uri CONTENT_URI =  \r
-      Uri.parse("content://" + AUTHORITY_FILES + "/");\r
-    public static final Uri CONTENT_URI_FILE =\r
-      Uri.parse("content://" + AUTHORITY_FILES + "/file");\r
-    public static final Uri CONTENT_URI_DIR =\r
-      Uri.parse("content://" + AUTHORITY_FILES + "/dir");\r
-\r
-    public static final String CONTENT_TYPE =\r
-      "vnd.android.cursor.dir/vnd.owncloud.file";\r
-    public static final String CONTENT_TYPE_ITEM =\r
-      "vnd.android.cursor.item/vnd.owncloud.file";\r
-    \r
-    public static final String FILE_PARENT = "parent";\r
-    public static final String FILE_NAME = "filename";\r
-    public static final String FILE_CREATION = "created";\r
-    public static final String FILE_MODIFIED = "modified";\r
-    public static final String FILE_CONTENT_LENGTH = "content_length";\r
-    public static final String FILE_CONTENT_TYPE = "content_type";\r
-    public static final String FILE_STORAGE_PATH = "media_path";\r
-    public static final String FILE_PATH = "path";\r
-    public static final String FILE_ACCOUNT_OWNER = "file_owner";\r
-    \r
-    public static final String DEFAULT_SORT_ORDER = FILE_NAME + " collate nocase asc";\r
-\r
-  }\r
-}\r