Removed IProjectInfo (deprecated by ITizenProject)
authorkh5325.kim <kh5325.kim@samsung.com>
Fri, 17 May 2013 04:39:31 +0000 (13:39 +0900)
committerkh5325.kim <kh5325.kim@samsung.com>
Fri, 17 May 2013 04:39:31 +0000 (13:39 +0900)
org.tizen.common/src/org/tizen/common/IProjectInfo.java [deleted file]
org.tizen.common/src/org/tizen/common/util/ProjectUtil.java

diff --git a/org.tizen.common/src/org/tizen/common/IProjectInfo.java b/org.tizen.common/src/org/tizen/common/IProjectInfo.java
deleted file mode 100644 (file)
index c0e935f..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Common
- * 
- * Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: 
- * Hyeongseok Heo <hyeongseok.heo@samsung.com>
- * Jihoon Song <jihoon80.song@samsung.com>
- * Kangho Kim <kh5325.kim@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * 
- * Contributors:
- * - S-Core Co., Ltd
- * 
- */
-package org.tizen.common;
-
-/**
- * IProjectInfo Interface that is used when getting web project's information.
- *
- * @author Kangho Kim{@literal <kh5325.kim@samsung.com>} (S-Core)
- * @author JIhoon Song {@literal<jihoon80.song@samsung.com>} (S-Core)
- */
-public interface IProjectInfo {
-
-    /**
-     * Returns whether the Tizen web project or not.
-     * 
-     * @return If a project is the Tizen web project, return true.
-     */
-    public boolean isWebProject();
-    
-    /**
-     * Returns the App ID from a config.xml.
-     * 
-     * @return an App ID string. If could not get a value, return null.
-     */
-    public String getAppId();
-    
-    /**
-     * Returns the Package ID from a manifest.xml.
-     * 
-     * @return a Package ID string. If could not get a value, return null.
-     */
-    public String getPackageId();
-}
index 786aa08..486b926 100644 (file)
@@ -224,10 +224,10 @@ public class ProjectUtil {
      */
     public static ITizenProject getTizenProject(IProject project, Class adapter) {
         if (project == null)
-            throw new IllegalArgumentException("project can not be null");
+            throw new IllegalArgumentException("Project can not be null");
         Object obj = project.getAdapter(adapter);
         if (obj == null || !(obj instanceof ITizenProject))
-            throw new IllegalArgumentException("project can not be adapted (obj - " + obj + ", adapter - " + adapter + ")");
+            throw new IllegalArgumentException("Project can not be adapted (obj - " + obj + ", adapter - " + adapter + ")");
         return (ITizenProject) obj;
     }