Author: ozeigermann
Date: Sat Jul 28 14:34:14 2007
New Revision: 560620
URL: http://svn.apache.org/viewvc?view=rev&rev=560620
Log:
Further type and exception cleaning
Modified:
jakarta/commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/resource/StreamableResource.java
Modified:
jakarta/commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/resource/StreamableResource.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/resource/StreamableResource.java?view=diff&rev=560620&r1=560619&r2=560620
==============================================================================
---
jakarta/commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/resource/StreamableResource.java
(original)
+++
jakarta/commons/proper/transaction/branches/TRANSACTION_2/src/java/org/apache/commons/transaction/resource/StreamableResource.java
Sat Jul 28 14:34:14 2007
@@ -21,13 +21,13 @@
import java.util.List;
public interface StreamableResource {
- String getPath() throws ResourceException ;
+ String getPath();
boolean isDirectory();
boolean isFile();
- List<StreamableResource> getChildren() throws ResourceException;
+ List<? extends StreamableResource> getChildren() throws ResourceException;
StreamableResource getParent() throws ResourceException;
@@ -47,19 +47,12 @@
void createAsFile() throws ResourceException;
- // plus more general properties
- // among them could be length, lastmodfied, etc.
Object getProperty(String name);
void setProperty(String name, Object newValue);
void removeProperty(String name);
- // plus locking methods
void readLock();
void writeLock();
-
- boolean tryReadLock();
-
- boolean tryWriteLock();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]