KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > jef > JefFileConstants


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12
//
13
// JefFileConstants
14
//
15
// NK 09.03.2001
16
//
17
//
18

19 package org.jahia.services.jef;
20
21 /**
22  * constants for jef files
23  *
24  * @author NK
25  */

26
27 public final class JefFileConstants {
28
29
30     /**
31      * Status
32      *
33      */

34
35     /** Means, the file require another Jahia license */
36     public static final int LOCKED = 0;
37
38     /** Means, the file has been extracted successfully */
39     public static final int UNLOCKED = 1;
40
41     /** Means, this is an Invalid Jef file ( missing crypted informations ) */
42     public static final int INVALID_JEF_FILE = 2;
43
44     /** Means, a Java Security Exception has occured */
45     public static final int JAVA_SECURITY_ERROR = 3;
46
47     /** Means, this is a IO File Exception */
48     public static final int IO_ERROR = 4;
49
50     /** Means, an unknow error has occured */
51     public static final int UNKNOWN_ERROR = 5;
52
53
54 }
55
Popular Tags