/usr/share/doc/libjets3t-java/api/org/jets3t/service/StorageService.html is in libjets3t-java-doc 0.8.1+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Sat Apr 16 04:24:15 UTC 2011 -->
<TITLE>
StorageService
</TITLE>
<META NAME="date" CONTENT="2011-04-16">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="StorageService";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/jets3t/service/StorageObjectsChunk.html" title="class in org.jets3t.service"><B>PREV CLASS</B></A>
<A HREF="../../../org/jets3t/service/VersionOrDeleteMarkersChunk.html" title="class in org.jets3t.service"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/jets3t/service/StorageService.html" target="_top"><B>FRAMES</B></A>
<A HREF="StorageService.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.jets3t.service</FONT>
<BR>
Class StorageService</H2>
<PRE>
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.jets3t.service.StorageService</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/jets3t/service/impl/rest/httpclient/RestStorageService.html" title="class in org.jets3t.service.impl.rest.httpclient">RestStorageService</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public abstract class <B>StorageService</B><DT>extends <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
</PRE>
<P>
A service that handles communication with a storage service, offering all the operations that
can be performed on generic storage services.
<p>
This class must be extended by implementation classes that perform the communication with
a specific service using a specific interface, such as REST or SOAP.
</p>
<p>
Implementations of <code>StorageService</code> must be thread-safe as they will probably be used by
the multi-threaded service class <A HREF="../../../org/jets3t/service/multi/ThreadedStorageService.html" title="class in org.jets3t.service.multi"><CODE>ThreadedStorageService</CODE></A>.
</p>
<p>
This class uses properties obtained through <A HREF="../../../org/jets3t/service/Jets3tProperties.html" title="class in org.jets3t.service"><CODE>Jets3tProperties</CODE></A>. For more information on
these properties please refer to
<a href="http://www.jets3t.org/toolkit/configuration.html">JetS3t Configuration</a>
</p>
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>James Murty, Nikolas Coukouma</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#BUCKET_STATUS__ALREADY_CLAIMED">BUCKET_STATUS__ALREADY_CLAIMED</A></B></CODE>
<BR>
Status code returned by <A HREF="../../../org/jets3t/service/StorageService.html#checkBucketStatus(java.lang.String)"><CODE>checkBucketStatus(String)</CODE></A> for a bucket
that exists but is not owned by the service user (i.e.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#BUCKET_STATUS__DOES_NOT_EXIST">BUCKET_STATUS__DOES_NOT_EXIST</A></B></CODE>
<BR>
Status code returned by <A HREF="../../../org/jets3t/service/StorageService.html#checkBucketStatus(java.lang.String)"><CODE>checkBucketStatus(String)</CODE></A> for a bucket
that does not exist.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#BUCKET_STATUS__MY_BUCKET">BUCKET_STATUS__MY_BUCKET</A></B></CODE>
<BR>
Status code returned by <A HREF="../../../org/jets3t/service/StorageService.html#checkBucketStatus(java.lang.String)"><CODE>checkBucketStatus(String)</CODE></A> for a bucket
that exists and is owned by the service user.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#checkBucketStatus(java.lang.String)">checkBucketStatus</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)</CODE>
<BR>
Find out the status of a bucket with the given name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#copyObject(java.lang.String, java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject, boolean)">copyObject</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceBucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceObjectKey,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> destinationBucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> destinationObject,
boolean replaceMetadata)</CODE>
<BR>
Copy an object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#copyObject(java.lang.String, java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject, boolean, java.util.Calendar, java.util.Calendar, java.lang.String[], java.lang.String[])">copyObject</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceBucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceObjectKey,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> destinationBucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> destinationObject,
boolean replaceMetadata,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifModifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifUnmodifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifMatchTags,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifNoneMatchTags)</CODE>
<BR>
Copy an object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#createBucket(org.jets3t.service.model.StorageBucket)">createBucket</A></B>(<A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A> bucket)</CODE>
<BR>
Create a bucket with the Access Control List settings of the bucket object (if any).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#createBucket(java.lang.String)">createBucket</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)</CODE>
<BR>
Creates a bucket.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#deleteBucket(org.jets3t.service.model.StorageBucket)">deleteBucket</A></B>(<A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A> bucket)</CODE>
<BR>
Deletes a bucket.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#deleteBucket(java.lang.String)">deleteBucket</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)</CODE>
<BR>
Deletes a bucket.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#deleteObject(java.lang.String, java.lang.String)">deleteObject</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey)</CODE>
<BR>
Deletes an object from a bucket.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageOwner.html" title="class in org.jets3t.service.model">StorageOwner</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getAccountOwner()">getAccountOwner</A></B>()</CODE>
<BR>
Returns the owner of an account, using information available in the
bucket listing response.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getBucket(java.lang.String)">getBucket</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)</CODE>
<BR>
Returns a bucket in your account by listing all your buckets
(using <A HREF="../../../org/jets3t/service/StorageService.html#listAllBuckets()"><CODE>listAllBuckets()</CODE></A>), and looking for the named bucket in
this list.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/acl/AccessControlList.html" title="class in org.jets3t.service.acl">AccessControlList</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getBucketAcl(java.lang.String)">getBucketAcl</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)</CODE>
<BR>
Retrieves the access control settings of a bucket.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getCurrentTimeWithOffset()">getCurrentTimeWithOffset</A></B>()</CODE>
<BR>
Returns the current date and time, adjusted according to the time
offset between your computer and an AWS server (as set by the
<A HREF="../../../org/jets3t/service/utils/RestUtils.html#getAWSTimeAdjustment()"><CODE>RestUtils.getAWSTimeAdjustment()</CODE></A> method).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getEndpoint()">getEndpoint</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getInternalErrorRetryMax()">getInternalErrorRetryMax</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getInvokingApplicationDescription()">getInvokingApplicationDescription</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/Jets3tProperties.html" title="class in org.jets3t.service">Jets3tProperties</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getJetS3tProperties()">getJetS3tProperties</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getObject(java.lang.String, java.lang.String)">getObject</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey)</CODE>
<BR>
Returns an object representing the details and data of an item in a service,
without applying any preconditions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getObject(java.lang.String, java.lang.String, java.util.Calendar, java.util.Calendar, java.lang.String[], java.lang.String[], java.lang.Long, java.lang.Long)">getObject</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifModifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifUnmodifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifMatchTags,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifNoneMatchTags,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A> byteRangeStart,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A> byteRangeEnd)</CODE>
<BR>
Returns an object representing the details and data of an item that meets any given preconditions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/acl/AccessControlList.html" title="class in org.jets3t.service.acl">AccessControlList</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getObjectAcl(java.lang.String, java.lang.String)">getObjectAcl</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey)</CODE>
<BR>
Retrieves the access control settings of an object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getObjectDetails(java.lang.String, java.lang.String)">getObjectDetails</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey)</CODE>
<BR>
Returns an object representing the details of an item in without the object's data, and
without applying any preconditions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getObjectDetails(java.lang.String, java.lang.String, java.util.Calendar, java.util.Calendar, java.lang.String[], java.lang.String[])">getObjectDetails</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifModifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifUnmodifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifMatchTags,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifNoneMatchTags)</CODE>
<BR>
Returns an object representing the details of an item that meets any given preconditions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getOrCreateBucket(java.lang.String)">getOrCreateBucket</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)</CODE>
<BR>
Returns a bucket in your account, and creates the bucket if
it does not yet exist.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/security/ProviderCredentials.html" title="class in org.jets3t.service.security">ProviderCredentials</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getProviderCredentials()">getProviderCredentials</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getResourceParameterNames()">getResourceParameterNames</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getRestHeaderPrefix()">getRestHeaderPrefix</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#getRestMetadataPrefix()">getRestMetadataPrefix</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#isAuthenticatedConnection()">isAuthenticatedConnection</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>abstract boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#isBucketAccessible(java.lang.String)">isBucketAccessible</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)</CODE>
<BR>
Indicates whether a bucket exists and is accessible to a service user.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#isHttpsOnly()">isHttpsOnly</A></B>()</CODE>
<BR>
Whether to use secure HTTPS or insecure HTTP for communicating with a service,
as configured in the <A HREF="../../../org/jets3t/service/Jets3tProperties.html" title="class in org.jets3t.service"><CODE>Jets3tProperties</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#isObjectInBucket(java.lang.String, java.lang.String)">isObjectInBucket</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey)</CODE>
<BR>
Convenience method to check whether an object exists in a bucket.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#isShutdown()">isShutdown</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#listAllBuckets()">listAllBuckets</A></B>()</CODE>
<BR>
Lists the buckets belonging to the service user.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#listObjects(java.lang.String)">listObjects</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)</CODE>
<BR>
Lists the objects in a bucket.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#listObjects(java.lang.String, java.lang.String, java.lang.String)">listObjects</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> delimiter)</CODE>
<BR>
Lists the objects in a bucket matching a prefix and delimiter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#listObjects(java.lang.String, java.lang.String, java.lang.String, long)">listObjects</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> delimiter,
long maxListingLength)</CODE>
<BR>
Lists the objects in a bucket matching a prefix, while instructing the service
to send response messages containing no more than a given number of object
results.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/StorageObjectsChunk.html" title="class in org.jets3t.service">StorageObjectsChunk</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#listObjectsChunked(java.lang.String, java.lang.String, java.lang.String, long, java.lang.String)">listObjectsChunked</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> delimiter,
long maxListingLength,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> priorLastKey)</CODE>
<BR>
Lists the objects in a bucket matching a prefix, chunking the results into batches of
a given size, and returning each chunk separately.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/StorageObjectsChunk.html" title="class in org.jets3t.service">StorageObjectsChunk</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#listObjectsChunked(java.lang.String, java.lang.String, java.lang.String, long, java.lang.String, boolean)">listObjectsChunked</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> delimiter,
long maxListingLength,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> priorLastKey,
boolean completeListing)</CODE>
<BR>
Lists the objects in a bucket matching a prefix and also returns the
common prefixes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#moveObject(java.lang.String, java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject, boolean)">moveObject</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceBucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceObjectKey,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> destinationBucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> destinationObject,
boolean replaceMetadata)</CODE>
<BR>
Move an object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#putBucketAcl(org.jets3t.service.model.StorageBucket)">putBucketAcl</A></B>(<A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A> bucket)</CODE>
<BR>
Applies access control settings to a bucket.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#putBucketAcl(java.lang.String, org.jets3t.service.acl.AccessControlList)">putBucketAcl</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="../../../org/jets3t/service/acl/AccessControlList.html" title="class in org.jets3t.service.acl">AccessControlList</A> acl)</CODE>
<BR>
Applies access control settings to a bucket.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#putObject(java.lang.String, org.jets3t.service.model.StorageObject)">putObject</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> object)</CODE>
<BR>
Puts an object inside an existing bucket, creating a new object or overwriting
an existing one with the same key.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#putObjectAcl(java.lang.String, org.jets3t.service.model.StorageObject)">putObjectAcl</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> object)</CODE>
<BR>
Applies access control settings to an object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#putObjectAcl(java.lang.String, java.lang.String, org.jets3t.service.acl.AccessControlList)">putObjectAcl</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey,
<A HREF="../../../org/jets3t/service/acl/AccessControlList.html" title="class in org.jets3t.service.acl">AccessControlList</A> acl)</CODE>
<BR>
Applies access control settings to an object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#renameMetadataKeys(java.util.Map)">renameMetadataKeys</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> metadata)</CODE>
<BR>
Renames metadata property names to be suitable for use as HTTP Headers.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#renameObject(java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject)">renameObject</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceObjectKey,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> destinationObject)</CODE>
<BR>
Rename an object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#shutdown()">shutdown</A></B>()</CODE>
<BR>
Make a best-possible effort to shutdown and clean up any resources used by this
service such as HTTP connections, connection pools, threads etc, although there is
no guarantee that all such resources will indeed be fully cleaned up.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jets3t/service/StorageService.html#updateObjectMetadata(java.lang.String, org.jets3t.service.model.StorageObject)">updateObjectMetadata</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> object)</CODE>
<BR>
Update an object's metadata.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="BUCKET_STATUS__MY_BUCKET"><!-- --></A><H3>
BUCKET_STATUS__MY_BUCKET</H3>
<PRE>
public static final int <B>BUCKET_STATUS__MY_BUCKET</B></PRE>
<DL>
<DD>Status code returned by <A HREF="../../../org/jets3t/service/StorageService.html#checkBucketStatus(java.lang.String)"><CODE>checkBucketStatus(String)</CODE></A> for a bucket
that exists and is owned by the service user.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jets3t.service.StorageService.BUCKET_STATUS__MY_BUCKET">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="BUCKET_STATUS__DOES_NOT_EXIST"><!-- --></A><H3>
BUCKET_STATUS__DOES_NOT_EXIST</H3>
<PRE>
public static final int <B>BUCKET_STATUS__DOES_NOT_EXIST</B></PRE>
<DL>
<DD>Status code returned by <A HREF="../../../org/jets3t/service/StorageService.html#checkBucketStatus(java.lang.String)"><CODE>checkBucketStatus(String)</CODE></A> for a bucket
that does not exist.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jets3t.service.StorageService.BUCKET_STATUS__DOES_NOT_EXIST">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="BUCKET_STATUS__ALREADY_CLAIMED"><!-- --></A><H3>
BUCKET_STATUS__ALREADY_CLAIMED</H3>
<PRE>
public static final int <B>BUCKET_STATUS__ALREADY_CLAIMED</B></PRE>
<DL>
<DD>Status code returned by <A HREF="../../../org/jets3t/service/StorageService.html#checkBucketStatus(java.lang.String)"><CODE>checkBucketStatus(String)</CODE></A> for a bucket
that exists but is not owned by the service user (i.e. another user has
already created this bucket in the service's namespace).
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jets3t.service.StorageService.BUCKET_STATUS__ALREADY_CLAIMED">Constant Field Values</A></DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="shutdown()"><!-- --></A><H3>
shutdown</H3>
<PRE>
public void <B>shutdown</B>()
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Make a best-possible effort to shutdown and clean up any resources used by this
service such as HTTP connections, connection pools, threads etc, although there is
no guarantee that all such resources will indeed be fully cleaned up.
After calling this method the service instance will no longer be usable -- a new
instance must be created to do more work.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="isShutdown()"><!-- --></A><H3>
isShutdown</H3>
<PRE>
public boolean <B>isShutdown</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>true if the <A HREF="../../../org/jets3t/service/StorageService.html#shutdown()"><CODE>shutdown()</CODE></A> method has been used to shut down and
clean up this service. If this function returns true this service instance
can no longer be used to do work.</DL>
</DD>
</DL>
<HR>
<A NAME="isAuthenticatedConnection()"><!-- --></A><H3>
isAuthenticatedConnection</H3>
<PRE>
public boolean <B>isAuthenticatedConnection</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>true if this service has <A HREF="../../../org/jets3t/service/security/ProviderCredentials.html" title="class in org.jets3t.service.security"><CODE>ProviderCredentials</CODE></A> identifying a user, false
if the service is acting as an anonymous user.</DL>
</DD>
</DL>
<HR>
<A NAME="isHttpsOnly()"><!-- --></A><H3>
isHttpsOnly</H3>
<PRE>
public boolean <B>isHttpsOnly</B>()</PRE>
<DL>
<DD>Whether to use secure HTTPS or insecure HTTP for communicating with a service,
as configured in the <A HREF="../../../org/jets3t/service/Jets3tProperties.html" title="class in org.jets3t.service"><CODE>Jets3tProperties</CODE></A>.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if this service should use only secure HTTPS communication channels.
If false, the non-secure HTTP protocol will be used.</DL>
</DD>
</DL>
<HR>
<A NAME="getInternalErrorRetryMax()"><!-- --></A><H3>
getInternalErrorRetryMax</H3>
<PRE>
public int <B>getInternalErrorRetryMax</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>The maximum number of times to retry when Internal Error (500) errors are encountered,
as configured by the <A HREF="../../../org/jets3t/service/Jets3tProperties.html" title="class in org.jets3t.service"><CODE>Jets3tProperties</CODE></A>.</DL>
</DD>
</DL>
<HR>
<A NAME="getJetS3tProperties()"><!-- --></A><H3>
getJetS3tProperties</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/Jets3tProperties.html" title="class in org.jets3t.service">Jets3tProperties</A> <B>getJetS3tProperties</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the JetS3t properties that will be used by this service.</DL>
</DD>
</DL>
<HR>
<A NAME="getProviderCredentials()"><!-- --></A><H3>
getProviderCredentials</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/security/ProviderCredentials.html" title="class in org.jets3t.service.security">ProviderCredentials</A> <B>getProviderCredentials</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the credentials identifying the service user, or null for anonymous.</DL>
</DD>
</DL>
<HR>
<A NAME="getInvokingApplicationDescription()"><!-- --></A><H3>
getInvokingApplicationDescription</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getInvokingApplicationDescription</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>a description of the application using this service, suitable for inclusion in the
user agent string of REST/HTTP requests.</DL>
</DD>
</DL>
<HR>
<A NAME="listObjects(java.lang.String)"><!-- --></A><H3>
listObjects</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A>[] <B>listObjects</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Lists the objects in a bucket.
<p>
The objects returned by this method contain only minimal information
such as the object's size, ETag, and LastModified timestamp. To retrieve
the objects' metadata you must perform follow-up <code>getObject</code>
or <code>getObjectDetails</code> operations.
<p>
This method can be performed by anonymous services. Anonymous services
can only list the objects in a publicly-readable bucket.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket whose contents will be listed.
<DT><B>Returns:</B><DD>the set of objects contained in a bucket.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="listObjects(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
listObjects</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A>[] <B>listObjects</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> delimiter)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Lists the objects in a bucket matching a prefix and delimiter.
<p>
The objects returned by this method contain only minimal information
such as the object's size, ETag, and LastModified timestamp. To retrieve
the objects' metadata you must perform follow-up <code>getObject</code>
or <code>getObjectDetails</code> operations.
<p>
This method can be performed by anonymous services. Anonymous services
can only list the objects in a publicly-readable bucket.
<p>
NOTE: If you supply a delimiter value that could cause virtual path
"subdirectories" to be included in the results from the service, use the
<A HREF="../../../org/jets3t/service/StorageService.html#listObjectsChunked(java.lang.String, java.lang.String, java.lang.String, long, java.lang.String, boolean)"><CODE>listObjectsChunked(String, String, String, long, String, boolean)</CODE></A>
method instead of this one to obtain both object and path values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket whose contents will be listed.<DD><CODE>prefix</CODE> - only objects with a key that starts with this prefix will be listed<DD><CODE>delimiter</CODE> - only list objects with key names up to this delimiter, may be null.
See note above.
<b>Note</b>: If a non-null delimiter is specified, the prefix must include enough text to
reach the first occurrence of the delimiter in the bucket's keys, or no results will be returned.
<DT><B>Returns:</B><DD>the set of objects contained in a bucket whose keys start with the given prefix.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createBucket(java.lang.String)"><!-- --></A><H3>
createBucket</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A> <B>createBucket</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Creates a bucket.
<b>Caution:</b> Performing this operation unnecessarily when a bucket already
exists may cause OperationAborted errors with the message "A conflicting conditional
operation is currently in progress against this resource.". To avoid this error, use the
<A HREF="../../../org/jets3t/service/StorageService.html#getOrCreateBucket(java.lang.String)"><CODE>getOrCreateBucket(String)</CODE></A> in situations where the bucket may already exist.
This method cannot be performed by anonymous services.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket to create.
<DT><B>Returns:</B><DD>the created bucket object. <b>Note:</b> the object returned has minimal information about
the bucket that was created, including only the bucket's name.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="createBucket(org.jets3t.service.model.StorageBucket)"><!-- --></A><H3>
createBucket</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A> <B>createBucket</B>(<A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A> bucket)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Create a bucket with the Access Control List settings of the bucket object (if any).
<p>
<b>Caution:</b> Performing this operation unnecessarily when a bucket already
exists may cause OperationAborted errors with the message "A conflicting conditional
operation is currently in progress against this resource.". To avoid this error, use the
<A HREF="../../../org/jets3t/service/StorageService.html#getOrCreateBucket(java.lang.String)"><CODE>getOrCreateBucket(String)</CODE></A> in situations where the bucket may already exist.
<p>
This method cannot be performed by anonymous services.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucket</CODE> - the bucket to create, including optional ACL settings.
<DT><B>Returns:</B><DD>the created bucket object. <b>Note:</b> the object returned has minimal information about
the bucket that was created, including only the bucket's name.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="isObjectInBucket(java.lang.String, java.lang.String)"><!-- --></A><H3>
isObjectInBucket</H3>
<PRE>
public boolean <B>isObjectInBucket</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Convenience method to check whether an object exists in a bucket.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket containing the object.<DD><CODE>objectKey</CODE> - the key identifying the object.
<DT><B>Returns:</B><DD>false if the object is not found in the bucket, true if the object
exists (although it may be inaccessible to you).
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getObject(java.lang.String, java.lang.String)"><!-- --></A><H3>
getObject</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> <B>getObject</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Returns an object representing the details and data of an item in a service,
without applying any preconditions.
<p>
This method can be performed by anonymous services. Anonymous services
can get a publicly-readable object.
<p>
<b>Important:</b> It is the caller's responsibility to close the object's data input stream.
The data stream should be consumed and closed as soon as is practical as network connections
may be held open until the streams are closed. Excessive unclosed streams can lead to
connection starvation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket containing the object.<DD><CODE>objectKey</CODE> - the key identifying the object.
<DT><B>Returns:</B><DD>the object with the given key, including the object's data input stream.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getObjectDetails(java.lang.String, java.lang.String)"><!-- --></A><H3>
getObjectDetails</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> <B>getObjectDetails</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Returns an object representing the details of an item in without the object's data, and
without applying any preconditions.
<p>
This method can be performed by anonymous services. Anonymous services
can get a publicly-readable object's details.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket containing the object.<DD><CODE>objectKey</CODE> - the key identifying the object.
<DT><B>Returns:</B><DD>the object with the given key, including only general details and metadata
(not the data input stream)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="listAllBuckets()"><!-- --></A><H3>
listAllBuckets</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A>[] <B>listAllBuckets</B>()
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Lists the buckets belonging to the service user.
<p>
This method cannot be performed by anonymous services, and will fail with an exception
if the service is not authenticated.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the list of buckets owned by the service user.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getAccountOwner()"><!-- --></A><H3>
getAccountOwner</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageOwner.html" title="class in org.jets3t.service.model">StorageOwner</A> <B>getAccountOwner</B>()
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Returns the owner of an account, using information available in the
bucket listing response.
<p>
This method cannot be performed by anonymous services, and will fail with an exception
if the service is not authenticated.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the owner of the account.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="listObjects(java.lang.String, java.lang.String, java.lang.String, long)"><!-- --></A><H3>
listObjects</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A>[] <B>listObjects</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> delimiter,
long maxListingLength)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Lists the objects in a bucket matching a prefix, while instructing the service
to send response messages containing no more than a given number of object
results.
<p>
The objects returned by this method contain only minimal information
such as the object's size, ETag, and LastModified timestamp. To retrieve
the objects' metadata you must perform follow-up <code>getObject</code>
or <code>getObjectDetails</code> operations.
<p>
This method can be performed by anonymous services. Anonymous services
can list the contents of a publicly-readable bucket.
<p>
NOTE: If you supply a delimiter value that could cause virtual path
"subdirectories" to be included in the results from the service, use the
<A HREF="../../../org/jets3t/service/StorageService.html#listObjectsChunked(java.lang.String, java.lang.String, java.lang.String, long, java.lang.String, boolean)"><CODE>listObjectsChunked(String, String, String, long, String, boolean)</CODE></A>
method instead of this one to obtain both object and path values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the the bucket whose contents will be listed.<DD><CODE>prefix</CODE> - only objects with a key that starts with this prefix will be listed<DD><CODE>delimiter</CODE> - only list objects with key names up to this delimiter, may be null.
See note above.<DD><CODE>maxListingLength</CODE> - the maximum number of objects to include in each result message. This value
has <strong>no effect</strong> on the number of objects
that will be returned by this method, because it will always return all
the objects in the bucket.
<DT><B>Returns:</B><DD>the set of objects contained in a bucket whose keys start with the given prefix.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="listObjectsChunked(java.lang.String, java.lang.String, java.lang.String, long, java.lang.String)"><!-- --></A><H3>
listObjectsChunked</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/StorageObjectsChunk.html" title="class in org.jets3t.service">StorageObjectsChunk</A> <B>listObjectsChunked</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> delimiter,
long maxListingLength,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> priorLastKey)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Lists the objects in a bucket matching a prefix, chunking the results into batches of
a given size, and returning each chunk separately. It is the responsibility of the caller
to building a complete bucket object listing by performing follow-up requests if necessary.
<p>
The objects returned by this method contain only minimal information
such as the object's size, ETag, and LastModified timestamp. To retrieve
the objects' metadata you must perform follow-up <code>getObject</code>
or <code>getObjectDetails</code> operations.
<p>
This method can be performed by anonymous services. Anonymous services
can list the contents of a publicly-readable bucket.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the the bucket whose contents will be listed.<DD><CODE>prefix</CODE> - only objects with a key that starts with this prefix will be listed, may be null.<DD><CODE>delimiter</CODE> - only list objects with key names up to this delimiter, may be null.<DD><CODE>maxListingLength</CODE> - the maximum number of objects to include in each result chunk<DD><CODE>priorLastKey</CODE> - the last object key received in a prior call to this method. The next chunk of objects
listed will start with the next object in the bucket <b>after</b> this key name.
This parameter may be null, in which case the listing will start at the beginning of the
bucket's object contents.
<DT><B>Returns:</B><DD>the set of objects contained in a bucket whose keys start with the given prefix.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="listObjectsChunked(java.lang.String, java.lang.String, java.lang.String, long, java.lang.String, boolean)"><!-- --></A><H3>
listObjectsChunked</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/StorageObjectsChunk.html" title="class in org.jets3t.service">StorageObjectsChunk</A> <B>listObjectsChunked</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> delimiter,
long maxListingLength,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> priorLastKey,
boolean completeListing)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Lists the objects in a bucket matching a prefix and also returns the
common prefixes. Depending on the value of the completeListing
variable, this method can be set to automatically perform follow-up requests
to build a complete object listing, or to return only a partial listing.
<p>
The objects returned by this method contain only minimal information
such as the object's size, ETag, and LastModified timestamp. To retrieve
the objects' metadata you must perform follow-up <code>getObject</code>
or <code>getObjectDetails</code> operations.
<p>
This method can be performed by anonymous services. Anonymous services
can list the contents of a publicly-readable bucket.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the the bucket whose contents will be listed.<DD><CODE>prefix</CODE> - only objects with a key that starts with this prefix will be listed, may be null.<DD><CODE>delimiter</CODE> - only objects with a key that starts with this prefix will be listed, may be null.<DD><CODE>maxListingLength</CODE> - the maximum number of objects to include in each result chunk<DD><CODE>priorLastKey</CODE> - the last object key received in a prior call to this method. The next chunk of objects
listed will start with the next object in the bucket <b>after</b> this key name.
This parameter may be null, in which case the listing will start at the beginning of the
bucket's object contents.<DD><CODE>completeListing</CODE> - if true, the service class will automatically perform follow-up requests to
build a complete bucket object listing.
<DT><B>Returns:</B><DD>the set of objects contained in a bucket whose keys start with the given prefix.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getBucket(java.lang.String)"><!-- --></A><H3>
getBucket</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A> <B>getBucket</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Returns a bucket in your account by listing all your buckets
(using <A HREF="../../../org/jets3t/service/StorageService.html#listAllBuckets()"><CODE>listAllBuckets()</CODE></A>), and looking for the named bucket in
this list.
<p>
This method cannot be performed by anonymous services.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> -
<DT><B>Returns:</B><DD>the bucket in your account, or null if you do not own the named bucket.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getOrCreateBucket(java.lang.String)"><!-- --></A><H3>
getOrCreateBucket</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A> <B>getOrCreateBucket</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Returns a bucket in your account, and creates the bucket if
it does not yet exist.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket to retrieve or create.
<DT><B>Returns:</B><DD>the bucket in your account.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="deleteBucket(org.jets3t.service.model.StorageBucket)"><!-- --></A><H3>
deleteBucket</H3>
<PRE>
public void <B>deleteBucket</B>(<A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A> bucket)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Deletes a bucket. Only the owner of a bucket may delete it.
<p>
This method cannot be performed by anonymous services.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucket</CODE> - the bucket to delete.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="deleteBucket(java.lang.String)"><!-- --></A><H3>
deleteBucket</H3>
<PRE>
public void <B>deleteBucket</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Deletes a bucket. Only the owner of a bucket may delete it.
<p>
This method cannot be performed by anonymous services.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket to delete.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="putObject(java.lang.String, org.jets3t.service.model.StorageObject)"><!-- --></A><H3>
putObject</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> <B>putObject</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> object)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Puts an object inside an existing bucket, creating a new object or overwriting
an existing one with the same key. The Access Control List settings of the object
(if any) will also be applied.
<p>
This method can be performed by anonymous services. Anonymous services
can put objects into a publicly-writable bucket.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket inside which the object will be put.<DD><CODE>object</CODE> - the object containing all information that will be written to the service.
At very least this object must be valid. Beyond that it may contain: an input stream
with the object's data content, metadata, and access control settings.
<p>
<b>Note:</b> It is very important to set the object's Content-Length to match the size of the
data input stream when possible, as this can remove the need to read data into memory to
determine its size.
<DT><B>Returns:</B><DD>the object populated with any metadata.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="copyObject(java.lang.String, java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject, boolean, java.util.Calendar, java.util.Calendar, java.lang.String[], java.lang.String[])"><!-- --></A><H3>
copyObject</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>copyObject</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceBucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceObjectKey,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> destinationBucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> destinationObject,
boolean replaceMetadata,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifModifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifUnmodifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifMatchTags,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifNoneMatchTags)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Copy an object. You can copy an object within a single bucket or between buckets,
and can optionally update the object's metadata at the same time.
<p>
This method cannot be performed by anonymous services. You must have read
access to the source object and write access to the destination bucket.
<p>
An object can be copied over itself, in which case you can update its
metadata without making any other changes.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sourceBucketName</CODE> - the name of the bucket that contains the original object.<DD><CODE>sourceObjectKey</CODE> - the key name of the original object.<DD><CODE>destinationBucketName</CODE> - the name of the destination bucket to which the object will be copied.<DD><CODE>destinationObject</CODE> - the object that will be created by the copy operation. If this item
includes an AccessControlList setting the copied object will be assigned
that ACL, otherwise the copied object will be assigned the default private
ACL setting.<DD><CODE>replaceMetadata</CODE> - If this parameter is true, the copied object will be assigned the metadata
values present in the destinationObject. Otherwise, the copied object will
have the same metadata as the original object.<DD><CODE>ifModifiedSince</CODE> - a precondition specifying a date after which the object must have been
modified, ignored if null.<DD><CODE>ifUnmodifiedSince</CODE> - a precondition specifying a date after which the object must not have
been modified, ignored if null.<DD><CODE>ifMatchTags</CODE> - a precondition specifying an MD5 hash the object must match, ignored if
null.<DD><CODE>ifNoneMatchTags</CODE> - a precondition specifying an MD5 hash the object must not match, ignored
if null.
<DT><B>Returns:</B><DD>a map of the header and result information resulting from the object
copy. The map includes the object's MD5 hash value (ETag), its size
(Content-Length), and update timestamp (Last-Modified).
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="copyObject(java.lang.String, java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject, boolean)"><!-- --></A><H3>
copyObject</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>copyObject</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceBucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceObjectKey,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> destinationBucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> destinationObject,
boolean replaceMetadata)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Copy an object. You can copy an object within a
single bucket or between buckets, and can optionally update the object's
metadata at the same time.
<p>
This method cannot be performed by anonymous services. You must have read
access to the source object and write access to the destination bucket.
<p>
An object can be copied over itself, in which case you can update its
metadata without making any other changes.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sourceBucketName</CODE> - the name of the bucket that contains the original object.<DD><CODE>sourceObjectKey</CODE> - the key name of the original object.<DD><CODE>destinationBucketName</CODE> - the name of the destination bucket to which the object will be copied.<DD><CODE>destinationObject</CODE> - the object that will be created by the copy operation. If this item
includes an AccessControlList setting the copied object will be assigned
that ACL, otherwise the copied object will be assigned the default private
ACL setting.<DD><CODE>replaceMetadata</CODE> - If this parameter is true, the copied object will be assigned the metadata
values present in the destinationObject. Otherwise, the copied object will
have the same metadata as the original object.
<DT><B>Returns:</B><DD>a map of the header and result information after the object
copy. The map includes the object's MD5 hash value (ETag), its size
(Content-Length), and update timestamp (Last-Modified).
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="moveObject(java.lang.String, java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject, boolean)"><!-- --></A><H3>
moveObject</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>moveObject</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceBucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceObjectKey,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> destinationBucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> destinationObject,
boolean replaceMetadata)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Move an object. This method works by invoking the
<A HREF="../../../org/jets3t/service/StorageService.html#copyObject(java.lang.String, java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject, boolean)"><CODE>copyObject(String, String, String, StorageObject, boolean)</CODE></A> method to
copy the original object, then deletes the original object once the
copy has succeeded.
<p>
This method cannot be performed by anonymous services. You must have read
access to the source object, write access to the destination bucket, and
write access to the source bucket.
<p>
If the copy operation succeeds but the delete operation fails, this
method will not throw an exception but the result map object will contain
an item named "DeleteException" with the exception thrown by the delete
operation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sourceBucketName</CODE> - the name of the bucket that contains the original object.<DD><CODE>sourceObjectKey</CODE> - the key name of the original object.<DD><CODE>destinationBucketName</CODE> - the name of the destination bucket to which the object will be copied.<DD><CODE>destinationObject</CODE> - the object that will be created by the move operation. If this item
includes an AccessControlList setting the copied object will be assigned
that ACL, otherwise the copied object will be assigned the default private
ACL setting.<DD><CODE>replaceMetadata</CODE> - If this parameter is true, the copied object will be assigned the metadata
values present in the destinationObject. Otherwise, the copied object will
have the same metadata as the original object.
<DT><B>Returns:</B><DD>a map of the header and result information after the object
copy. The map includes the object's MD5 hash value (ETag), its size
(Content-Length), and update timestamp (Last-Modified). If the object was
successfully copied but the original could not be deleted, the map will
also include an item named "DeleteException" with the exception thrown by
the delete operation.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="renameObject(java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject)"><!-- --></A><H3>
renameObject</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>renameObject</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> sourceObjectKey,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> destinationObject)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Rename an object. This method works by invoking the
<A HREF="../../../org/jets3t/service/StorageService.html#moveObject(java.lang.String, java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject, boolean)"><CODE>moveObject(String, String, String, StorageObject, boolean)</CODE></A> method to
move the original object to a new key name.
<p>
The original object's metadata is retained, but to apply an access
control setting other than private you must specify an ACL in the
destination object.
<p>
This method cannot be performed by anonymous services. You must have
write access to the source object and write access to the bucket.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket containing the original object that will be copied.<DD><CODE>sourceObjectKey</CODE> - the key name of the original object.<DD><CODE>destinationObject</CODE> - the object that will be created by the rename operation. If this item
includes an AccessControlList setting the copied object will be assigned
that ACL, otherwise the copied object will be assigned the default private
ACL setting.
<DT><B>Returns:</B><DD>a map of the header and result information after the object
copy. The map includes the object's MD5 hash value (ETag), its size
(Content-Length), and update timestamp (Last-Modified). If the object was
successfully copied but the original could not be deleted, the map will
also include an item named "DeleteException" with the exception thrown by
the delete operation.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="updateObjectMetadata(java.lang.String, org.jets3t.service.model.StorageObject)"><!-- --></A><H3>
updateObjectMetadata</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>updateObjectMetadata</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> object)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Update an object's metadata. This method works by invoking the
<A HREF="../../../org/jets3t/service/StorageService.html#copyObject(java.lang.String, java.lang.String, java.lang.String, org.jets3t.service.model.StorageObject, boolean)"><CODE>copyObject(String, String, String, StorageObject, boolean)</CODE></A> method to
copy the original object over itself, applying the new metadata in the
process.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket containing the object that will be updated.<DD><CODE>object</CODE> - the object that will be updated. If this item includes an
AccessControlList setting the copied object will be assigned
that ACL, otherwise the copied object will be assigned the default private
ACL setting.
<DT><B>Returns:</B><DD>a map of the header and result information after the object
copy. The map includes the object's MD5 hash value (ETag), its size
(Content-Length), and update timestamp (Last-Modified).
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="deleteObject(java.lang.String, java.lang.String)"><!-- --></A><H3>
deleteObject</H3>
<PRE>
public void <B>deleteObject</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Deletes an object from a bucket.
<p>
This method can be performed by anonymous services. Anonymous services
can delete objects from publicly-writable buckets.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket containing the object to be deleted.<DD><CODE>objectKey</CODE> - the key representing the object
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getObjectDetails(java.lang.String, java.lang.String, java.util.Calendar, java.util.Calendar, java.lang.String[], java.lang.String[])"><!-- --></A><H3>
getObjectDetails</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> <B>getObjectDetails</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifModifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifUnmodifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifMatchTags,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifNoneMatchTags)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Returns an object representing the details of an item that meets any given preconditions.
The object is returned without the object's data.
<p>
An exception is thrown if any of the preconditions fail.
Preconditions are only applied if they are non-null.
<p>
This method can be performed by anonymous services. Anonymous services
can get details of publicly-readable objects.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket containing the object.<DD><CODE>objectKey</CODE> - the key identifying the object.<DD><CODE>ifModifiedSince</CODE> - a precondition specifying a date after which the object must have been modified, ignored if null.<DD><CODE>ifUnmodifiedSince</CODE> - a precondition specifying a date after which the object must not have been modified, ignored if null.<DD><CODE>ifMatchTags</CODE> - a precondition specifying an MD5 hash the object must match, ignored if null.<DD><CODE>ifNoneMatchTags</CODE> - a precondition specifying an MD5 hash the object must not match, ignored if null.
<DT><B>Returns:</B><DD>the object with the given key, including only general details and metadata (not the data
input stream)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getObject(java.lang.String, java.lang.String, java.util.Calendar, java.util.Calendar, java.lang.String[], java.lang.String[], java.lang.Long, java.lang.Long)"><!-- --></A><H3>
getObject</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> <B>getObject</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifModifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A> ifUnmodifiedSince,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifMatchTags,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] ifNoneMatchTags,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A> byteRangeStart,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</A> byteRangeEnd)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Returns an object representing the details and data of an item that meets any given preconditions.
<p>
<b>Important:</b> It is the caller's responsibility to close the object's data input stream.
The data stream should be consumed and closed as soon as is practical as network connections
may be held open until the streams are closed. Excessive unclosed streams can lead to
connection starvation.
<p>
An exception is thrown if any of the preconditions fail.
Preconditions are only applied if they are non-null.
<p>
This method can be performed by anonymous services. Anonymous services
can get a publicly-readable object.
<p>
<b>Implementation notes</b><p>
Implementations should use <A HREF="../../../org/jets3t/service/StorageService.html#assertValidBucket(org.jets3t.service.model.StorageBucket, java.lang.String)"><CODE>assertValidBucket(org.jets3t.service.model.StorageBucket, java.lang.String)</CODE></A> assertion.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket containing the object.<DD><CODE>objectKey</CODE> - the key identifying the object.<DD><CODE>ifModifiedSince</CODE> - a precondition specifying a date after which the object must have been modified, ignored if null.<DD><CODE>ifUnmodifiedSince</CODE> - a precondition specifying a date after which the object must not have been modified, ignored if null.<DD><CODE>ifMatchTags</CODE> - a precondition specifying an MD5 hash the object must match, ignored if null.<DD><CODE>ifNoneMatchTags</CODE> - a precondition specifying an MD5 hash the object must not match, ignored if null.<DD><CODE>byteRangeStart</CODE> - include only a portion of the object's data - starting at this point, ignored if null.<DD><CODE>byteRangeEnd</CODE> - include only a portion of the object's data - ending at this point, ignored if null.
<DT><B>Returns:</B><DD>the object with the given key, including only general details and metadata (not the data
input stream)
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="putObjectAcl(java.lang.String, org.jets3t.service.model.StorageObject)"><!-- --></A><H3>
putObjectAcl</H3>
<PRE>
public void <B>putObjectAcl</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="../../../org/jets3t/service/model/StorageObject.html" title="class in org.jets3t.service.model">StorageObject</A> object)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Applies access control settings to an object. The ACL settings must be included
with the object.
This method can be performed by anonymous services, but can only succeed if the
object's existing ACL already allows write access by the anonymous user.
In general, you can only access the ACL of an object if the ACL already in place
for that object allows you to do so.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket containing the object to modify.<DD><CODE>object</CODE> - the object with ACL settings that will be applied.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="putObjectAcl(java.lang.String, java.lang.String, org.jets3t.service.acl.AccessControlList)"><!-- --></A><H3>
putObjectAcl</H3>
<PRE>
public void <B>putObjectAcl</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey,
<A HREF="../../../org/jets3t/service/acl/AccessControlList.html" title="class in org.jets3t.service.acl">AccessControlList</A> acl)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Applies access control settings to an object. The ACL settings must be included
with the object.
This method can be performed by anonymous services, but can only succeed if the
object's existing ACL already allows write access by the anonymous user.
In general, you can only access the ACL of an object if the ACL already in place
for that object allows you to do so.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket containing the object to modify.<DD><CODE>objectKey</CODE> - the key name of the object with ACL settings that will be applied.<DD><CODE>acl</CODE> - the ACL to apply.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getObjectAcl(java.lang.String, java.lang.String)"><!-- --></A><H3>
getObjectAcl</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/acl/AccessControlList.html" title="class in org.jets3t.service.acl">AccessControlList</A> <B>getObjectAcl</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> objectKey)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Retrieves the access control settings of an object.
This method can be performed by anonymous services, but can only succeed if the
object's existing ACL already allows write access by the anonymous user.
In general, you can only access the ACL of an object if the ACL already in place
for that object allows you to do so.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket whose ACL settings will be retrieved (if objectKey is null) or the
name of the bucket containing the object whose ACL settings will be retrieved (if objectKey is non-null).<DD><CODE>objectKey</CODE> - if non-null, the key of the object whose ACL settings will be retrieved. Ignored if null.
<DT><B>Returns:</B><DD>the ACL settings of the bucket or object.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="putBucketAcl(java.lang.String, org.jets3t.service.acl.AccessControlList)"><!-- --></A><H3>
putBucketAcl</H3>
<PRE>
public void <B>putBucketAcl</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName,
<A HREF="../../../org/jets3t/service/acl/AccessControlList.html" title="class in org.jets3t.service.acl">AccessControlList</A> acl)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Applies access control settings to a bucket. The ACL settings must be included
inside the bucket.
This method can be performed by anonymous services, but can only succeed if the
bucket's existing ACL already allows write access by the anonymous user.
In general, you can only access the ACL of a bucket if the ACL already in place
for that bucket allows you to do so.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - a name of the bucket with ACL settings to apply.<DD><CODE>acl</CODE> - the ACL to apply.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="putBucketAcl(org.jets3t.service.model.StorageBucket)"><!-- --></A><H3>
putBucketAcl</H3>
<PRE>
public void <B>putBucketAcl</B>(<A HREF="../../../org/jets3t/service/model/StorageBucket.html" title="class in org.jets3t.service.model">StorageBucket</A> bucket)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Applies access control settings to a bucket. The ACL settings must be included
inside the bucket.
This method can be performed by anonymous services, but can only succeed if the
bucket's existing ACL already allows write access by the anonymous user.
In general, you can only access the ACL of a bucket if the ACL already in place
for that bucket allows you to do so.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucket</CODE> - a bucket with ACL settings to apply.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getBucketAcl(java.lang.String)"><!-- --></A><H3>
getBucketAcl</H3>
<PRE>
public <A HREF="../../../org/jets3t/service/acl/AccessControlList.html" title="class in org.jets3t.service.acl">AccessControlList</A> <B>getBucketAcl</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Retrieves the access control settings of a bucket.
This method can be performed by anonymous services, but can only succeed if the
bucket's existing ACL already allows write access by the anonymous user.
In general, you can only access the ACL of a bucket if the ACL already in place
for that bucket allows you to do so.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the name of the bucket whose access control settings will be returned.
<DT><B>Returns:</B><DD>the ACL settings of the bucket.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getCurrentTimeWithOffset()"><!-- --></A><H3>
getCurrentTimeWithOffset</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> <B>getCurrentTimeWithOffset</B>()</PRE>
<DL>
<DD>Returns the current date and time, adjusted according to the time
offset between your computer and an AWS server (as set by the
<A HREF="../../../org/jets3t/service/utils/RestUtils.html#getAWSTimeAdjustment()"><CODE>RestUtils.getAWSTimeAdjustment()</CODE></A> method).
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the current time, or the current time adjusted to match the AWS time
if the <A HREF="../../../org/jets3t/service/utils/RestUtils.html#getAWSTimeAdjustment()"><CODE>RestUtils.getAWSTimeAdjustment()</CODE></A> method has been invoked.</DL>
</DD>
</DL>
<HR>
<A NAME="renameMetadataKeys(java.util.Map)"><!-- --></A><H3>
renameMetadataKeys</H3>
<PRE>
public <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> <B>renameMetadataKeys</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>> metadata)</PRE>
<DL>
<DD>Renames metadata property names to be suitable for use as HTTP Headers. This is done
by renaming any non-HTTP headers to have the a service-specific prefix and leaving the
HTTP header names unchanged. The HTTP header names left unchanged are those found in
<A HREF="../../../org/jets3t/service/utils/RestUtils.html#HTTP_HEADER_METADATA_NAMES"><CODE>RestUtils.HTTP_HEADER_METADATA_NAMES</CODE></A>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>metadata</CODE> -
<DT><B>Returns:</B><DD>a map of metadata property name/value pairs renamed to be suitable for use as HTTP headers.</DL>
</DD>
</DL>
<HR>
<A NAME="isBucketAccessible(java.lang.String)"><!-- --></A><H3>
isBucketAccessible</H3>
<PRE>
public abstract boolean <B>isBucketAccessible</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Indicates whether a bucket exists and is accessible to a service user.
<p>
<b>Caution:</b> This check started to cause issues in situations where you need to
immediately create a bucket when it does not exist. To conditionally create a bucket,
use the <A HREF="../../../org/jets3t/service/StorageService.html#getOrCreateBucket(java.lang.String)"><CODE>getOrCreateBucket(String)</CODE></A> method instead.
<p>
This method can be performed by anonymous services.
<p>
<b>Implementation notes</b><p>
This method can be implemented by attempting to list the objects in a bucket. If the listing
is successful return true, if the listing failed for any reason return false.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> - the bucket to check.
<DT><B>Returns:</B><DD>true if the bucket exists and is accessible to the service user, false otherwise.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="checkBucketStatus(java.lang.String)"><!-- --></A><H3>
checkBucketStatus</H3>
<PRE>
public abstract int <B>checkBucketStatus</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> bucketName)
throws <A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></PRE>
<DL>
<DD>Find out the status of a bucket with the given name.
<p>
<b>Caveats:</b>
<ul>
<li>If someone else owns the bucket but has made it public, this method will
mistakenly return <A HREF="../../../org/jets3t/service/StorageService.html#BUCKET_STATUS__MY_BUCKET"><CODE>BUCKET_STATUS__MY_BUCKET</CODE></A>.</li>
<li>
<p>
S3 can act strangely when you use this method in some circumstances.
If you check the status of a bucket and find that it does not exist, then create the
bucket, the service will continue to tell you the bucket does not exists for up to 30
seconds. This problem has something to do with connection caching (I think).</p>
<p>
This S3 quirk makes it a bad idea to use this method to check for a bucket's
existence before creating that bucket. Use the <A HREF="../../../org/jets3t/service/StorageService.html#getOrCreateBucket(java.lang.String)"><CODE>getOrCreateBucket(String)</CODE></A>
method for this purpose instead.</p>
</li>
</ul>
</p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bucketName</CODE> -
<DT><B>Returns:</B><DD><A HREF="../../../org/jets3t/service/StorageService.html#BUCKET_STATUS__MY_BUCKET"><CODE>BUCKET_STATUS__MY_BUCKET</CODE></A> if you already own the bucket,
<A HREF="../../../org/jets3t/service/StorageService.html#BUCKET_STATUS__DOES_NOT_EXIST"><CODE>BUCKET_STATUS__DOES_NOT_EXIST</CODE></A> if the bucket does not yet exist, or
<A HREF="../../../org/jets3t/service/StorageService.html#BUCKET_STATUS__ALREADY_CLAIMED"><CODE>BUCKET_STATUS__ALREADY_CLAIMED</CODE></A> if someone else has
already created a bucket with the given name.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jets3t/service/ServiceException.html" title="class in org.jets3t.service">ServiceException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getEndpoint()"><!-- --></A><H3>
getEndpoint</H3>
<PRE>
public abstract <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getEndpoint</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the URL end-point of the target service.</DL>
</DD>
</DL>
<HR>
<A NAME="getRestHeaderPrefix()"><!-- --></A><H3>
getRestHeaderPrefix</H3>
<PRE>
public abstract <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getRestHeaderPrefix</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the REST header prefix used by the target service.</DL>
</DD>
</DL>
<HR>
<A NAME="getResourceParameterNames()"><!-- --></A><H3>
getResourceParameterNames</H3>
<PRE>
public abstract <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getResourceParameterNames</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>GET parameter names that represent specific resources in the target
service, as opposed to representing REST operation "plumbing". For
example the "acl" parameter might be used to represent a resource's
access control list settings.</DL>
</DD>
</DL>
<HR>
<A NAME="getRestMetadataPrefix()"><!-- --></A><H3>
getRestMetadataPrefix</H3>
<PRE>
public abstract <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getRestMetadataPrefix</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>the REST header prefix used by the target service to identify
metadata information.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../org/jets3t/service/StorageObjectsChunk.html" title="class in org.jets3t.service"><B>PREV CLASS</B></A>
<A HREF="../../../org/jets3t/service/VersionOrDeleteMarkersChunk.html" title="class in org.jets3t.service"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?org/jets3t/service/StorageService.html" target="_top"><B>FRAMES</B></A>
<A HREF="StorageService.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
|