Subversion Repositories XServices

Rev

Rev 54 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 54 Rev 65
Line 47... Line 47...
47
    public static final String WS_PARAM_SOURCEARCHIVE = "archivesource";
47
    public static final String WS_PARAM_SOURCEARCHIVE = "archivesource";
48
    public static final String WS_PARAM_DESTFILE = "destfile";
48
    public static final String WS_PARAM_DESTFILE = "destfile";
49
    public static final String WS_PARAM_DESTDIR = "destdir";
49
    public static final String WS_PARAM_DESTDIR = "destdir";
50
    public static final String WS_PARAM_ENCODING = "encoding";
50
    public static final String WS_PARAM_ENCODING = "encoding";
51
    public static final String WS_PARAM_OVERWRITE = "overwrite";
51
    public static final String WS_PARAM_OVERWRITE = "overwrite";
-
 
52
    public static final String WS_PARAM_COMPRESS = "compresslevel";
Line -... Line 53...
-
 
53
 
-
 
54
    /**
-
 
55
     * @param src
-
 
56
     * @param file
-
 
57
     * @return
-
 
58
     * @throws XServicesFault 
52
 
59
     */
53
    @WebMethod(operationName = WS_OPERATION_BZIP2, action = WS_OPERATION_BZIP2)
60
    @WebMethod(operationName = WS_OPERATION_BZIP2, action = WS_OPERATION_BZIP2)
54
    public ReturnCode bzip2(@WebParam(name = WS_PARAM_SOURCEFILE) FileResource src,
61
    public ReturnCode bzip2(@WebParam(name = WS_PARAM_SOURCEFILE) FileResource src,
Line -... Line 62...
-
 
62
            @WebParam(name = WS_PARAM_DESTFILE) String file) throws XServicesFault;
-
 
63
 
-
 
64
    /**
-
 
65
     * @param src
-
 
66
     * @param file
-
 
67
     * @return
55
            @WebParam(name = WS_PARAM_DESTFILE) String file);
68
     * @throws XServicesFault 
56
 
69
     */
57
    @WebMethod(operationName = WS_OPERATION_BZIP2_ARCHIVE, action = WS_OPERATION_BZIP2_ARCHIVE)
70
    @WebMethod(operationName = WS_OPERATION_BZIP2_ARCHIVE, action = WS_OPERATION_BZIP2_ARCHIVE)
Line -... Line 71...
-
 
71
    public ReturnCode bzip2FromArchive(@WebParam(name = WS_PARAM_SOURCEARCHIVE) ArchiveResource src,
-
 
72
            @WebParam(name = WS_PARAM_DESTFILE) String file) throws XServicesFault;
-
 
73
 
-
 
74
    /**
-
 
75
     * @param src
-
 
76
     * @param file
58
    public ReturnCode bzip2FromArchive(@WebParam(name = WS_PARAM_SOURCEARCHIVE) ArchiveResource src,
77
     * @return
59
            @WebParam(name = WS_PARAM_DESTFILE) String file);
78
     * @throws XServicesFault 
60
 
79
     */
Line -... Line 80...
-
 
80
    @WebMethod(operationName = WS_OPERATION_GZIP, action = WS_OPERATION_GZIP)
-
 
81
    public ReturnCode gzip(@WebParam(name = WS_PARAM_SOURCEFILE) FileResource src,
-
 
82
            @WebParam(name = WS_PARAM_DESTFILE) String file) throws XServicesFault;
-
 
83
 
-
 
84
    /**
-
 
85
     * @param src
61
    @WebMethod(operationName = WS_OPERATION_GZIP, action = WS_OPERATION_GZIP)
86
     * @param file
62
    public ReturnCode gzip(@WebParam(name = WS_PARAM_SOURCEFILE) FileResource src,
87
     * @return
63
            @WebParam(name = WS_PARAM_DESTFILE) String file);
88
     * @throws XServicesFault 
Line -... Line 89...
-
 
89
     */
-
 
90
    @WebMethod(operationName = WS_OPERATION_GZIP_ARCHIVE, action = WS_OPERATION_GZIP_ARCHIVE)
-
 
91
    public ReturnCode gzipFromArchive(@WebParam(name = WS_PARAM_SOURCEARCHIVE) ArchiveResource src,
-
 
92
            @WebParam(name = WS_PARAM_DESTFILE) String file) throws XServicesFault;
-
 
93
 
-
 
94
    /**
64
 
95
     * @param src
65
    @WebMethod(operationName = WS_OPERATION_GZIP_ARCHIVE, action = WS_OPERATION_GZIP_ARCHIVE)
96
     * @param dest
66
    public ReturnCode gzipFromArchive(@WebParam(name = WS_PARAM_SOURCEARCHIVE) ArchiveResource src,
97
     * @return
Line -... Line 98...
-
 
98
     * @throws XServicesFault 
-
 
99
     */
-
 
100
    @WebMethod(operationName = WS_OPERATION_GUNZIP, action = WS_OPERATION_GUNZIP)
-
 
101
    public ReturnCode gunzip(@WebParam(name = WS_PARAM_SOURCEFILE_STRING) String src,
-
 
102
            @WebParam(name = WS_PARAM_DESTDIR) String dest) throws XServicesFault;
-
 
103
 
67
            @WebParam(name = WS_PARAM_DESTFILE) String file);
104
    /**
68
 
105
     * @param src
69
    @WebMethod(operationName = WS_OPERATION_GUNZIP, action = WS_OPERATION_GUNZIP)
106
     * @param dest
Line -... Line 107...
-
 
107
     * @return
-
 
108
     * @throws XServicesFault 
-
 
109
     */
-
 
110
    @WebMethod(operationName = WS_OPERATION_BUNZIP2)
-
 
111
    public ReturnCode bunzip2(@WebParam(name = WS_PARAM_SOURCEFILE_STRING) String src,
-
 
112
            @WebParam(name = WS_PARAM_DESTDIR) String dest) throws XServicesFault;
70
    public ReturnCode gunzip(@WebParam(name = WS_PARAM_SOURCEFILE_STRING) String src,
113
 
71
            @WebParam(name = WS_PARAM_DESTDIR) String dest);
114
    /**
72
 
115
     * @param src
Line -... Line 116...
-
 
116
     * @param dest
-
 
117
     * @return
-
 
118
     * @throws XServicesFault 
-
 
119
     */
-
 
120
    @WebMethod(operationName = "gunzipFromURL")
-
 
121
    public ReturnCode gunzipFromURL(@WebParam(name = WS_PARAM_SOURCEURL) String src,
73
    @WebMethod(operationName = WS_OPERATION_BUNZIP2)
122
            @WebParam(name = WS_PARAM_DESTDIR) String dest) throws XServicesFault;
74
    public ReturnCode bunzip2(@WebParam(name = WS_PARAM_SOURCEFILE_STRING) String src,
123
 
75
            @WebParam(name = WS_PARAM_DESTDIR) String dest);
124
    /**
Line -... Line 125...
-
 
125
     * @param src
-
 
126
     * @param dest
-
 
127
     * @return
-
 
128
     * @throws XServicesFault 
-
 
129
     */
-
 
130
    @WebMethod(operationName = "bunzip2FromURL")
-
 
131
    public ReturnCode bunzip2FromURL(@WebParam(name = WS_PARAM_SOURCEURL) String src,
-
 
132
            @WebParam(name = WS_PARAM_DESTDIR) String dest) throws XServicesFault;
-
 
133
 
76
 
134
    /**
77
    @WebMethod(operationName = "gunzipFromURL")
135
     * @param src
78
    public ReturnCode gunzipFromURL(@WebParam(name = WS_PARAM_SOURCEURL) String src,
136
     * @param file
79
            @WebParam(name = WS_PARAM_DESTDIR) String dest);
137
     * @param overwrite
80
 
138
     * @param encoding
81
    @WebMethod(operationName = "bunzip2FromURL")
139
     * @param level
Line -... Line 140...
-
 
140
     * @return
-
 
141
     * @throws XServicesFault 
-
 
142
     */
-
 
143
    @WebMethod(operationName = "zip")
-
 
144
    public ReturnCode zip(@WebParam(name = WS_PARAM_SOURCEFILE) FileResource src,
-
 
145
            @WebParam(name = WS_PARAM_DESTFILE) String file,
-
 
146
            @WebParam(name = WS_PARAM_OVERWRITE) boolean overwrite,
-
 
147
            @WebParam(name = WS_PARAM_ENCODING) String encoding,
-
 
148
            @WebParam(name = WS_PARAM_COMPRESS) int level) throws XServicesFault;
82
    public ReturnCode bunzip2FromURL(@WebParam(name = WS_PARAM_SOURCEURL) String src,
149
 
83
            @WebParam(name = WS_PARAM_DESTDIR) String dest);
150
    /**
84
 
151
     * @param src
85
    @WebMethod(operationName = "zip")
152
     * @param file
86
    public ReturnCode zip(@WebParam(name = WS_PARAM_SOURCEFILE) FileResource src,
153
     * @param update
87
            @WebParam(name = WS_PARAM_DESTFILE) String file,
154
     * @param encoding
Line -... Line 155...
-
 
155
     * @param level
-
 
156
     * @return
-
 
157
     * @throws XServicesFault 
-
 
158
     */
-
 
159
    @WebMethod(operationName = "zipFromArchive")
-
 
160
    public ReturnCode zipFromArchive(@WebParam(name = WS_PARAM_SOURCEARCHIVE) ArchiveResource src,
-
 
161
            @WebParam(name = WS_PARAM_DESTFILE) String file,
-
 
162
            @WebParam(name = WS_PARAM_OVERWRITE) boolean update,
88
            @WebParam(name = WS_PARAM_OVERWRITE) boolean overwrite,
163
            @WebParam(name = WS_PARAM_ENCODING) String encoding,
89
            @WebParam(name = WS_PARAM_ENCODING) String encoding,
164
            @WebParam(name = "compresslevel") int level) throws XServicesFault;
90
            @WebParam(name = "compresslevel") int level);
165
 
91
 
166
    /**
92
    @WebMethod(operationName = "zipFromArchive")
167
     * @param src
Line -... Line 168...
-
 
168
     * @param dest
-
 
169
     * @param overwrite
-
 
170
     * @param encoding
-
 
171
     * @return
-
 
172
     * @throws XServicesFault 
-
 
173
     */
93
    public ReturnCode zipFromArchive(@WebParam(name = WS_PARAM_SOURCEARCHIVE) ArchiveResource src,
174
    @WebMethod(operationName = "unzip")
94
            @WebParam(name = WS_PARAM_DESTFILE) String file,
175
    public ReturnCode unzip(@WebParam(name = WS_PARAM_SOURCEFILE_STRING) String src,
95
            @WebParam(name = WS_PARAM_OVERWRITE) boolean update,
176
            @WebParam(name = WS_PARAM_DESTDIR) String dest,
Line -... Line 177...
-
 
177
            @WebParam(name = WS_PARAM_OVERWRITE) boolean overwrite,
-
 
178
            @WebParam(name = WS_PARAM_ENCODING) String encoding) throws XServicesFault;
-
 
179
 
-
 
180
    /**
-
 
181
     * @param src
-
 
182
     * @param dest
-
 
183
     * @return
-
 
184
     * @throws XServicesFault 
96
            @WebParam(name = WS_PARAM_ENCODING) String encoding,
185
     */
97
            @WebParam(name = "compresslevel") int level);
186
    @WebMethod(operationName = "unrar")
98
 
187
    public ReturnCode unrar(@WebParam(name = WS_PARAM_SOURCEFILE_STRING) String src,
99
    @WebMethod(operationName = "unzip")
188
            @WebParam(name = WS_PARAM_DESTDIR) String dest) throws XServicesFault;
100
    public ReturnCode unzip(@WebParam(name = WS_PARAM_SOURCEFILE_STRING) String src,
189
 
101
            @WebParam(name = WS_PARAM_DESTDIR) String dest,
190
    /**