1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
15 * The Original Code is the Plugin Finder Service.
17 * The Initial Developer of the Original Code is IBM Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 2004
19 * the IBM Corporation. All Rights Reserved.
22 * Doron Rosenberg <doronr@us.ibm.com>
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 package org
.mozilla
.pfs
;
40 public class PluginInfo
{
41 private java
.lang
.String name
;
43 private java
.lang
.String version
;
44 private java
.lang
.String iconUrl
;
45 private java
.lang
.String XPILocation
;
46 private boolean installerShowsUI
;
47 private java
.lang
.String manualInstallationURL
;
48 private java
.lang
.String requestedMimetype
;
49 private java
.lang
.String licenseURL
;
54 public java
.lang
.String
getName() {
58 public void setName(java
.lang
.String name
) {
66 public void setPid(int pid
) {
70 public java
.lang
.String
getVersion() {
74 public void setVersion(java
.lang
.String version
) {
75 this.version
= version
;
78 public java
.lang
.String
getIconUrl() {
82 public void setIconUrl(java
.lang
.String iconUrl
) {
83 this.iconUrl
= iconUrl
;
86 public java
.lang
.String
getXPILocation() {
90 public void setXPILocation(java
.lang
.String XPILocation
) {
91 this.XPILocation
= XPILocation
;
94 public boolean isInstallerShowsUI() {
95 return installerShowsUI
;
98 public void setInstallerShowsUI(boolean installerShowsUI
) {
99 this.installerShowsUI
= installerShowsUI
;
102 public java
.lang
.String
getManualInstallationURL() {
103 return manualInstallationURL
;
106 public void setManualInstallationURL(java
.lang
.String manualInstallationURL
) {
107 this.manualInstallationURL
= manualInstallationURL
;
110 public java
.lang
.String
getRequestedMimetype() {
111 return requestedMimetype
;
114 public void setRequestedMimetype(java
.lang
.String requestedMimetype
) {
115 this.requestedMimetype
= requestedMimetype
;
118 public java
.lang
.String
getLicenseURL() {
122 public void setLicenseURL(java
.lang
.String licenseURL
) {
123 this.licenseURL
= licenseURL
;