aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/naming/Name.java
diff options
context:
space:
mode:
authorAnthony Green <green@redhat.com>2000-11-27 05:57:58 +0000
committerAnthony Green <green@gcc.gnu.org>2000-11-27 05:57:58 +0000
commite36b9711fb576855928df06107ba52635e011159 (patch)
tree435566d5a2d48169c3e7d6187552ab6e87a17e8c /libjava/javax/naming/Name.java
parent1789599b3de66875caae60502739872aca8923ab (diff)
downloadgcc-e36b9711fb576855928df06107ba52635e011159.zip
gcc-e36b9711fb576855928df06107ba52635e011159.tar.gz
gcc-e36b9711fb576855928df06107ba52635e011159.tar.bz2
More JNDI changes.
From-SVN: r37779
Diffstat (limited to 'libjava/javax/naming/Name.java')
-rw-r--r--libjava/javax/naming/Name.java17
1 files changed, 15 insertions, 2 deletions
diff --git a/libjava/javax/naming/Name.java b/libjava/javax/naming/Name.java
index d07995b..b7eb4f1 100644
--- a/libjava/javax/naming/Name.java
+++ b/libjava/javax/naming/Name.java
@@ -12,6 +12,19 @@ import java.io.Serializable;
public interface Name extends Cloneable, Serializable
{
- public int size ();
- public String get (int index);
+ public Object clone();
+ public int compareTo(Object obj);
+ public int size();
+ public boolean isEmpty();
+ public Enumeration getAll();
+ public String get(int posn);
+ public Name getPrefix(int posn);
+ public Name getSuffix(int posn);
+ public boolean startsWith(Name n);
+ public boolean endsWith(Name n);
+ public Name addAll(Name suffix) throws InvalidNameException;
+ public Name addAll(int posn, Name n) throws InvalidNameException;
+ public Name add(String comp) throws InvalidNameException;
+ public Name add(int posn, String comp) throws InvalidNameException;
+ public Object remove(int posn) throws InvalidNameException;
}