From 52d65b15e3f7da8a254e68f403da5f5fb699077c Mon Sep 17 00:00:00 2001 From: "kh5325.kim" Date: Fri, 12 Apr 2013 17:09:33 +0900 Subject: [PATCH] support the interface of provider for web project information --- .../src/org/tizen/common/IProjectInfo.java | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 org.tizen.common/src/org/tizen/common/IProjectInfo.java diff --git a/org.tizen.common/src/org/tizen/common/IProjectInfo.java b/org.tizen.common/src/org/tizen/common/IProjectInfo.java new file mode 100644 index 0000000..c0e935f --- /dev/null +++ b/org.tizen.common/src/org/tizen/common/IProjectInfo.java @@ -0,0 +1,57 @@ +/* + * Common + * + * Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * Hyeongseok Heo + * Jihoon Song + * Kangho Kim + * + * 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 } (S-Core) + * @author JIhoon Song {@literal} (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(); +} -- 2.7.4