]> gcc.gnu.org Git - gcc.git/blob - libjava/javax/naming/Name.java
b7eb4f14ecebc5a882d0b446471ae8071ee712f0
[gcc.git] / libjava / javax / naming / Name.java
1 /* Copyright (C) 2000 Free Software Foundation
2
3 This file is part of libgcj.
4
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7 details. */
8
9 package javax.naming;
10
11 import java.io.Serializable;
12
13 public interface Name extends Cloneable, Serializable
14 {
15 public Object clone();
16 public int compareTo(Object obj);
17 public int size();
18 public boolean isEmpty();
19 public Enumeration getAll();
20 public String get(int posn);
21 public Name getPrefix(int posn);
22 public Name getSuffix(int posn);
23 public boolean startsWith(Name n);
24 public boolean endsWith(Name n);
25 public Name addAll(Name suffix) throws InvalidNameException;
26 public Name addAll(int posn, Name n) throws InvalidNameException;
27 public Name add(String comp) throws InvalidNameException;
28 public Name add(int posn, String comp) throws InvalidNameException;
29 public Object remove(int posn) throws InvalidNameException;
30 }
This page took 0.038886 seconds and 4 git commands to generate.