View Javadoc

1   /*
2    * Copyright 2005 Jukka Zitting <jz@yukatan.fi>
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package net.sf.exorcist.core.zip;
17  
18  /***
19   * Utility base class for the Exorcist content state file plugins.
20   */
21  public class ZipBase {
22  
23      /*** Name of the <code>content.xml</code> file. */
24      public static final String CONTENT_XML = "content.xml";
25  
26      /*** Name of the <code>data</code> subdirectory. */
27      public static final String DATA = "data";
28  
29      /*** Name of the content state file accessed by this plugin. */
30      private String zipfile;
31  
32      /***
33       * Returns the name of the content state file accessed by this plugin.
34       *
35       * @return name of the content state file
36       */
37      public String getZipfile() {
38          return zipfile;
39      }
40  
41      /***
42       * Sets the name of the content state file accessed by this plugin.
43       *
44       * @param zipfile name of the content state file
45       */
46      public void setZipfile(String zipfile) {
47          this.zipfile = zipfile;
48      }
49  
50  }