author | David Powell <David.Powell@sun.com> |
Wed, 16 Dec 2009 19:06:12 -0800 | |
changeset 401 | fc1223edbd8d |
parent 391 | 71abce159a62 |
child 545 | 7a29a25b92e2 |
permissions | -rw-r--r-- |
391 | 1 |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
2 |
<!-- |
|
3 |
Copyright 2009 Sun Microsystems, Inc. All rights reserved. |
|
4 |
Use is subject to license terms. |
|
5 |
||
6 |
CDDL HEADER START |
|
7 |
||
8 |
The contents of this file are subject to the terms of the |
|
9 |
Common Development and Distribution License (the "License"). |
|
10 |
You may not use this file except in compliance with the License. |
|
11 |
||
12 |
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
13 |
or http://www.opensolaris.org/os/licensing. |
|
14 |
See the License for the specific language governing permissions |
|
15 |
and limitations under the License. |
|
16 |
||
17 |
When distributing Covered Code, include this CDDL HEADER in each |
|
18 |
file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
19 |
If applicable, add the following below this CDDL HEADER, with the |
|
20 |
fields enclosed by brackets "[]" replaced with your own identifying |
|
21 |
information: Portions Copyright [yyyy] [name of copyright owner] |
|
22 |
||
23 |
CDDL HEADER END |
|
24 |
--> |
|
25 |
||
26 |
<interface xmlns="http://www.opensolaris.org/ns/adr" name="files"> |
|
27 |
||
28 |
<pragma domain="java" name="package" |
|
29 |
value="org.opensolaris.os.vp.common.remotefile" /> |
|
30 |
||
31 |
<type name="FileSnapshot"> |
|
32 |
<field type="string" name="path" /> |
|
33 |
<field type="string" name="absolutePath" /> |
|
34 |
<field type="string" name="baseName" /> |
|
35 |
<field type="string" name="canonicalPath" /> |
|
36 |
<field type="boolean" name="absolute" /> |
|
37 |
<field type="boolean" name="canonical" /> |
|
38 |
<field type="boolean" name="exists" /> |
|
39 |
<field type="boolean" name="readable" /> |
|
40 |
<field type="boolean" name="writable" /> |
|
41 |
<field type="boolean" name="directory" /> |
|
42 |
<field type="boolean" name="file" /> |
|
43 |
<field type="boolean" name="hidden" /> |
|
44 |
<field type="time" name="lastModified" /> |
|
401
fc1223edbd8d
13421 apache: o.o.o.rad.ContainerException: system error: error talking to slave
David Powell <David.Powell@sun.com>
parents:
391
diff
changeset
|
45 |
<field type="long" name="length" /> |
fc1223edbd8d
13421 apache: o.o.o.rad.ContainerException: system error: error talking to slave
David Powell <David.Powell@sun.com>
parents:
391
diff
changeset
|
46 |
<field type="long" name="freeSpace" /> |
fc1223edbd8d
13421 apache: o.o.o.rad.ContainerException: system error: error talking to slave
David Powell <David.Powell@sun.com>
parents:
391
diff
changeset
|
47 |
<field type="long" name="totalSpace" /> |
fc1223edbd8d
13421 apache: o.o.o.rad.ContainerException: system error: error talking to slave
David Powell <David.Powell@sun.com>
parents:
391
diff
changeset
|
48 |
<field type="long" name="usableSpace" /> |
391 | 49 |
</type> |
50 |
||
51 |
<api name="fileBrowser"> |
|
52 |
<version major="0" minor="1" /> |
|
53 |
||
54 |
<property name="Roots" access="ro"> |
|
55 |
<list typeref="FileSnapshot" /> |
|
56 |
</property> |
|
57 |
||
58 |
<method name="getFile"> |
|
59 |
<result typeref="FileSnapshot" /> |
|
60 |
<error /> |
|
61 |
<argument type="string" name="name" /> |
|
62 |
</method> |
|
63 |
||
64 |
<method name="getFiles"> |
|
65 |
<result> |
|
66 |
<list typeref="FileSnapshot" /> |
|
67 |
</result> |
|
68 |
<error /> |
|
69 |
<argument type="string" name="directory" /> |
|
70 |
</method> |
|
71 |
</api> |
|
72 |
</interface> |