http://git-wip-us.apache.org/repos/asf/twill/blob/49f35954/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/LocalLocationFactory.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/LocalLocationFactory.html b/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/LocalLocationFactory.html new file mode 100644 index 0000000..3a9909c --- /dev/null +++ b/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/LocalLocationFactory.html @@ -0,0 +1,331 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Fri Aug 25 09:24:50 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>LocalLocationFactory (Apache Twill 0.12.0 API)</title> +<meta name="date" content="2017-08-25"> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="LocalLocationFactory (Apache Twill 0.12.0 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/LocalLocationFactory.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/twill/filesystem/ForwardingLocationFactory.html" title="class in org.apache.twill.filesystem"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/filesystem/LocalLocationFactory.html" target="_top">Frames</a></li> +<li><a href="LocalLocationFactory.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.twill.filesystem</div> +<h2 title="Class LocalLocationFactory" class="title">Class LocalLocationFactory</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.twill.filesystem.LocalLocationFactory</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a></dd> +</dl> +<hr> +<br> +<pre>public final class <span class="strong">LocalLocationFactory</span> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> +implements <a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a></pre> +<div class="block">A <a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><code>LocationFactory</code></a> for creating local file <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/twill/filesystem/LocalLocationFactory.html#LocalLocationFactory()">LocalLocationFactory</a></strong>()</code> +<div class="block">Constructs a LocalLocationFactory that Location created will be relative to system root.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><strong><a href="../../../../org/apache/twill/filesystem/LocalLocationFactory.html#LocalLocationFactory(java.io.File)">LocalLocationFactory</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> basePath)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/LocalLocationFactory.html#create(java.lang.String)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</code> +<div class="block">Creates an instance of <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a> of the given path.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/LocalLocationFactory.html#create(java.net.URI)">create</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> uri)</code> +<div class="block">Creates an instance of <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a> based on <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a> <code>uri</code>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/LocalLocationFactory.html#getHomeLocation()">getHomeLocation</a></strong>()</code> +<div class="block">Returns the home location.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="LocalLocationFactory()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>LocalLocationFactory</h4> +<pre>public LocalLocationFactory()</pre> +<div class="block">Constructs a LocalLocationFactory that Location created will be relative to system root.</div> +</li> +</ul> +<a name="LocalLocationFactory(java.io.File)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>LocalLocationFactory</h4> +<pre>public LocalLocationFactory(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> basePath)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="create(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>create</h4> +<pre>public <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a> create(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> path)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/twill/filesystem/LocationFactory.html#create(java.lang.String)">LocationFactory</a></code></strong></div> +<div class="block">Creates an instance of <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a> of the given path.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/twill/filesystem/LocationFactory.html#create(java.lang.String)">create</a></code> in interface <code><a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - The path representing the location.</dd> +<dt><span class="strong">Returns:</span></dt><dd>An instance of <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>.</dd></dl> +</li> +</ul> +<a name="create(java.net.URI)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>create</h4> +<pre>public <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a> create(<a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> uri)</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/twill/filesystem/LocationFactory.html#create(java.net.URI)">LocationFactory</a></code></strong></div> +<div class="block">Creates an instance of <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a> based on <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a> <code>uri</code>.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/twill/filesystem/LocationFactory.html#create(java.net.URI)">create</a></code> in interface <code><a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a></code></dd> +<dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - to the resource on the filesystem.</dd> +<dt><span class="strong">Returns:</span></dt><dd>An instance of <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a></dd></dl> +</li> +</ul> +<a name="getHomeLocation()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getHomeLocation</h4> +<pre>public <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a> getHomeLocation()</pre> +<div class="block"><strong>Description copied from interface: <code><a href="../../../../org/apache/twill/filesystem/LocationFactory.html#getHomeLocation()">LocationFactory</a></code></strong></div> +<div class="block">Returns the home location.</div> +<dl> +<dt><strong>Specified by:</strong></dt> +<dd><code><a href="../../../../org/apache/twill/filesystem/LocationFactory.html#getHomeLocation()">getHomeLocation</a></code> in interface <code><a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a></code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/LocalLocationFactory.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/twill/filesystem/ForwardingLocationFactory.html" title="class in org.apache.twill.filesystem"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/filesystem/LocalLocationFactory.html" target="_top">Frames</a></li> +<li><a href="LocalLocationFactory.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2013-2016 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/twill/blob/49f35954/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/Location.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/Location.html b/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/Location.html new file mode 100644 index 0000000..bb6babd --- /dev/null +++ b/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/Location.html @@ -0,0 +1,757 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Fri Aug 25 09:24:50 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>Location (Apache Twill 0.12.0 API)</title> +<meta name="date" content="2017-08-25"> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Location (Apache Twill 0.12.0 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/Location.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/twill/filesystem/LocalLocationFactory.html" title="class in org.apache.twill.filesystem"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/filesystem/LocationFactories.html" title="class in org.apache.twill.filesystem"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/filesystem/Location.html" target="_top">Frames</a></li> +<li><a href="Location.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.twill.filesystem</div> +<h2 title="Interface Location" class="title">Interface Location</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public interface <span class="strong">Location</span></pre> +<div class="block">This interface defines the location and operations of a resource on the filesystem. + <p> + <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a> is agnostic to the type of file system the resource is on. + </p></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#TEMP_FILE_SUFFIX">TEMP_FILE_SUFFIX</a></strong></code> +<div class="block">Suffix added to every temp file name generated with <a href="../../../../org/apache/twill/filesystem/Location.html#getTempFile(java.lang.String)"><code>getTempFile(String)</code></a>.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#append(java.lang.String)">append</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> child)</code> +<div class="block">Appends the child to the current <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#createNew()">createNew</a></strong>()</code> +<div class="block">Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name + does not yet exist.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#createNew(java.lang.String)">createNew</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code> +<div class="block">Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name + does not yet exist.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#delete()">delete</a></strong>()</code> +<div class="block">Deletes the file or directory denoted by this abstract pathname.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#delete(boolean)">delete</a></strong>(boolean recursive)</code> +<div class="block">Deletes the file or directory denoted by this abstract pathname.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#exists()">exists</a></strong>()</code> +<div class="block">Checks if the this location exists.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#getGroup()">getGroup</a></strong>()</code> +<div class="block">Returns the group of the location.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#getInputStream()">getInputStream</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#getLocationFactory()">getLocationFactory</a></strong>()</code> +<div class="block">Returns the location factory used to create this instance.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#getName()">getName</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#getOutputStream()">getOutputStream</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#getOutputStream(java.lang.String)">getOutputStream</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code> +<div class="block">Creates an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> for this location with the given permission.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#getOwner()">getOwner</a></strong>()</code> +<div class="block">Returns the owner of the location.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#getPermissions()">getPermissions</a></strong>()</code> +<div class="block">Returns the permissions of this <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#getTempFile(java.lang.String)">getTempFile</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> suffix)</code> +<div class="block">Returns unique location for temporary file to be placed near this location.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#isDirectory()">isDirectory</a></strong>()</code> +<div class="block">Checks if this location represents a directory.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#lastModified()">lastModified</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#length()">length</a></strong>()</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a>></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#list()">list</a></strong>()</code> +<div class="block">List the locations under this location.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#mkdirs()">mkdirs</a></strong>()</code> +<div class="block">Creates the directory named by this abstract pathname, including any necessary + but nonexistent parent directories.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#mkdirs(java.lang.String)">mkdirs</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code> +<div class="block">Creates the directory named by this abstract pathname, including any necessary + but nonexistent parent directories.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#renameTo(org.apache.twill.filesystem.Location)">renameTo</a></strong>(<a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a> destination)</code> +<div class="block">Moves the file or directory denoted by this abstract pathname.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#setGroup(java.lang.String)">setGroup</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group)</code> +<div class="block">Sets the group of the location.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#setPermissions(java.lang.String)">setPermissions</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission)</code> +<div class="block">Sets the permissions on this location.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/Location.html#toURI()">toURI</a></strong>()</code> </td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field_detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="TEMP_FILE_SUFFIX"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>TEMP_FILE_SUFFIX</h4> +<pre>static final <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> TEMP_FILE_SUFFIX</pre> +<div class="block">Suffix added to every temp file name generated with <a href="../../../../org/apache/twill/filesystem/Location.html#getTempFile(java.lang.String)"><code>getTempFile(String)</code></a>.</div> +<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.twill.filesystem.Location.TEMP_FILE_SUFFIX">Constant Field Values</a></dd></dl> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="exists()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>exists</h4> +<pre>boolean exists() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Checks if the this location exists.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>true if found; false otherwise.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="getName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getName</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getName()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>Returns the name of the file or directory denoteed by this abstract pathname.</dd></dl> +</li> +</ul> +<a name="createNew()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createNew</h4> +<pre>boolean createNew() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name + does not yet exist.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the file is successfully create, <code>false</code> otherwise.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if error encountered during creation of the file</dd></dl> +</li> +</ul> +<a name="createNew(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createNew</h4> +<pre>boolean createNew(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name + does not yet exist. The newly created file will have permission set based on the given permission settings.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>permission</code> - A permission string. It has to be either a three digit or a nine character string. + For the three digit string, it is similar to the UNIX permission numeric representation. + The first digit is the permission for owner, second digit is the permission for group and + the third digit is the permission for all. + For the nine character string, it uses the format as specified by the + <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/attribute/PosixFilePermissions.html?is-external=true#fromString(java.lang.String)" title="class or interface in java.nio.file.attribute"><code>PosixFilePermissions.fromString(String)</code></a> method.</dd> +<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the file is successfully create, <code>false</code> otherwise.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if error encountered during creation of the file</dd></dl> +</li> +</ul> +<a name="getPermissions()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPermissions</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getPermissions() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Returns the permissions of this <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>. The permission string is a nine character string as the format + specified by the <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/attribute/PosixFilePermissions.html?is-external=true#fromString(java.lang.String)" title="class or interface in java.nio.file.attribute"><code>PosixFilePermissions.fromString(String)</code></a> method.</div> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if failed to get the permissions of the location</dd> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if Posix file permissions are not supported by the local file system</dd></dl> +</li> +</ul> +<a name="getOwner()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getOwner</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getOwner() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Returns the owner of the location.</div> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if failed to get the owner of the location</dd></dl> +</li> +</ul> +<a name="getGroup()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getGroup</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getGroup() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Returns the group of the location.</div> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if failed to get the group of the location</dd> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if Posix style groups are not supported by the local file system</dd></dl> +</li> +</ul> +<a name="setGroup(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setGroup</h4> +<pre>void setGroup(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> group) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Sets the group of the location.</div> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if failed to set the group of the location</dd> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if Posix style groups are not supported by the local file system</dd></dl> +</li> +</ul> +<a name="setPermissions(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPermissions</h4> +<pre>void setPermissions(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Sets the permissions on this location.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>permission</code> - A permission string. See <a href="../../../../org/apache/twill/filesystem/Location.html#createNew(java.lang.String)"><code>createNew(String)</code></a> for the format.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if failed to set the permission</dd> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if Posix file permissions are not supported by the local file system</dd></dl> +</li> +</ul> +<a name="getInputStream()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInputStream</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> getInputStream() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>An <a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> for this location.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="getOutputStream()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getOutputStream</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> getOutputStream() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>An <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> for this location.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="getOutputStream(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getOutputStream</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> getOutputStream(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Creates an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> for this location with the given permission. The actual permission supported + depends on implementation.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>permission</code> - A permission string. It has to be either a three digit or a nine character string. + For the three digit string, it is similar to the UNIX permission numeric representation. + The first digit is the permission for owner, second digit is the permission for group and + the third digit is the permission for all. + For the nine character string, it uses the format as specified by the + <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/attribute/PosixFilePermissions.html?is-external=true#fromString(java.lang.String)" title="class or interface in java.nio.file.attribute"><code>PosixFilePermissions.fromString(String)</code></a> method.</dd> +<dt><span class="strong">Returns:</span></dt><dd>An <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> for writing to this location.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If failed to create the <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a>.</dd></dl> +</li> +</ul> +<a name="append(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>append</h4> +<pre><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a> append(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> child) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Appends the child to the current <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>. + <p> + Returns a new instance of Location. + </p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>child</code> - to be appended to this location.</dd> +<dt><span class="strong">Returns:</span></dt><dd>A new instance of <a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="getTempFile(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTempFile</h4> +<pre><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a> getTempFile(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> suffix) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Returns unique location for temporary file to be placed near this location. + Allows all temp files to follow same pattern for easier management of them.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>suffix</code> - part of the file name to include in the temp file name</dd> +<dt><span class="strong">Returns:</span></dt><dd>location of the temp file</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="toURI()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toURI</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net">URI</a> toURI()</pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>A <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a> for this location.</dd></dl> +</li> +</ul> +<a name="delete()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>delete</h4> +<pre>boolean delete() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Deletes the file or directory denoted by this abstract pathname. If this + pathname denotes a directory, then the directory must be empty in order + to be deleted.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>true if and only if the file or directory is successfully deleted; false otherwise.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="delete(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>delete</h4> +<pre>boolean delete(boolean recursive) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Deletes the file or directory denoted by this abstract pathname. If this + pathname denotes a directory and <code>recursive</code> is <code>true</code>, then content of the + directory will be deleted recursively, otherwise the directory must be empty in order to be deleted. + Note that when calling this method with <code>recursive = true</code> for a directory, any + failure during deletion will have some entries inside the directory being deleted while some are not.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>recursive</code> - Indicate if recursively delete a directory. Ignored if the pathname represents a file.</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if and only if the file or directory is successfully deleted; false otherwise.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="renameTo(org.apache.twill.filesystem.Location)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>renameTo</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a> +<a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a> renameTo(<a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a> destination) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Moves the file or directory denoted by this abstract pathname.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>destination</code> - destination location</dd> +<dt><span class="strong">Returns:</span></dt><dd>new location if and only if the file or directory is successfully moved; null otherwise.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="mkdirs()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mkdirs</h4> +<pre>boolean mkdirs() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Creates the directory named by this abstract pathname, including any necessary + but nonexistent parent directories.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>true if and only if the directory was created; false otherwise</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="mkdirs(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>mkdirs</h4> +<pre>boolean mkdirs(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> permission) + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Creates the directory named by this abstract pathname, including any necessary + but nonexistent parent directories. The directories will be created with the + exact given permissions, regardless of a possible umask setting.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>permission</code> - A permission string. It has to be either a three digit or a nine character string. + For the three digit string, it is similar to the UNIX permission numeric representation. + The first digit is the permission for owner, second digit is the permission for group and + the third digit is the permission for all. + For the nine character string, it uses the format as specified by the + <a href="http://docs.oracle.com/javase/7/docs/api/java/nio/file/attribute/PosixFilePermissions.html?is-external=true#fromString(java.lang.String)" title="class or interface in java.nio.file.attribute"><code>PosixFilePermissions.fromString(String)</code></a> method.</dd> +<dt><span class="strong">Returns:</span></dt><dd>true if and only if the directory was created; false otherwise</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="length()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>length</h4> +<pre>long length() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>Length of file.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="lastModified()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lastModified</h4> +<pre>long lastModified() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<dl><dt><span class="strong">Returns:</span></dt><dd>Last modified time of file.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="isDirectory()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>isDirectory</h4> +<pre>boolean isDirectory() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">Checks if this location represents a directory.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if it is a directory, <code>false</code> otherwise.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="list()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>list</h4> +<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a>> list() + throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> +<div class="block">List the locations under this location.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>Immutable List of locations under this location. + An empty list is returned if this location is not a directory.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> +</li> +</ul> +<a name="getLocationFactory()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getLocationFactory</h4> +<pre><a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a> getLocationFactory()</pre> +<div class="block">Returns the location factory used to create this instance.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The <a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><code>LocationFactory</code></a> instance for creating this instance.</dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/Location.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/twill/filesystem/LocalLocationFactory.html" title="class in org.apache.twill.filesystem"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/filesystem/LocationFactories.html" title="class in org.apache.twill.filesystem"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/filesystem/Location.html" target="_top">Frames</a></li> +<li><a href="Location.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2013-2016 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/twill/blob/49f35954/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/LocationFactories.html ---------------------------------------------------------------------- diff --git a/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/LocationFactories.html b/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/LocationFactories.html new file mode 100644 index 0000000..996b5f8 --- /dev/null +++ b/src/site/resources/apidocs-0.12.0/org/apache/twill/filesystem/LocationFactories.html @@ -0,0 +1,230 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_80) on Fri Aug 25 09:24:50 PDT 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>LocationFactories (Apache Twill 0.12.0 API)</title> +<meta name="date" content="2017-08-25"> +<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="LocationFactories (Apache Twill 0.12.0 API)"; + } +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/LocationFactories.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/filesystem/LocationFactories.html" target="_top">Frames</a></li> +<li><a href="LocationFactories.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.twill.filesystem</div> +<h2 title="Class LocationFactories" class="title">Class LocationFactories</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.twill.filesystem.LocationFactories</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public final class <span class="strong">LocationFactories</span> +extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> +<div class="block">Provides helper methods for creating different <a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><code>LocationFactory</code></a>.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/twill/filesystem/LocationFactories.html#namespace(org.apache.twill.filesystem.LocationFactory,%20java.lang.String)">namespace</a></strong>(<a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a> delegate, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace)</code> +<div class="block">Creates a <a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><code>LocationFactory</code></a> that always applies the giving namespace prefix.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="namespace(org.apache.twill.filesystem.LocationFactory, java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>namespace</h4> +<pre>public static <a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a> namespace(<a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a> delegate, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace)</pre> +<div class="block">Creates a <a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><code>LocationFactory</code></a> that always applies the giving namespace prefix.</div> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/LocationFactories.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../index-all.html">Index</a></li> +<li><a href="../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../../org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../index.html?org/apache/twill/filesystem/LocationFactories.html" target="_top">Frames</a></li> +<li><a href="LocationFactories.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2013-2016 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> +</body> +</html>
