* This {@link BasicLibrary} will access a remote server to list the available
* stories, and download the ones you try to load to the local directory
* specified in the configuration.
* This {@link BasicLibrary} will access a remote server to list the available
* stories, and download the ones you try to load to the local directory
* specified in the configuration.
- public Object send(Object data) throws IOException,
- NoSuchFieldException, NoSuchMethodException,
+ public Object send(Object data)
+ throws IOException, NoSuchFieldException, NoSuchMethodException,
* <p>
* Note that anything before the first pipe (<tt>|</tt>) character is
* considered to be the encryption key, anything after that character is
* <p>
* Note that anything before the first pipe (<tt>|</tt>) character is
* considered to be the encryption key, anything after that character is
* <li><b><i>yyy</i></b>: the secondary key</li>
* <li><b>rw</b>: flag to allow read and write access if it is not the
* default on this server</li>
* <li><b><i>yyy</i></b>: the secondary key</li>
* <li><b>rw</b>: flag to allow read and write access if it is not the
* default on this server</li>
- * <li><b>wl</b>: flag to allow access to all the stories (bypassing the
- * whitelist if it exists)</li>
+ * <li><b>bl</b>: flag to bypass the blacklist (if it exists)</li>
+ * <li><b>wl</b>: flag to bypass the whitelist if it exists</li>
* <li><b>my_key|agzyzz|rw</b>: will ask read-write access (if the default
* is read-only)</li>
* <li><b>my_key|agzyzz|wl|rw</b>: will ask both read-write access and white
* <li><b>my_key|agzyzz|rw</b>: will ask read-write access (if the default
* is read-only)</li>
* <li><b>my_key|agzyzz|wl|rw</b>: will ask both read-write access and white
// Could work (more slowly) without it
public MetaData imprt(final URL url, Progress pg) throws IOException {
// Import the file locally if it is actually a file
// Could work (more slowly) without it
public MetaData imprt(final URL url, Progress pg) throws IOException {
// Import the file locally if it is actually a file
if (url == null || url.getProtocol().equalsIgnoreCase("file")) {
return super.imprt(url, pg);
}
if (url == null || url.getProtocol().equalsIgnoreCase("file")) {
return super.imprt(url, pg);
}
- Object rep = action.send(new Object[] { subkey, "IMPORT",
- url.toString() });
+ Object rep = action.send(
+ new Object[] { subkey, "IMPORT", url.toString() });