gcc/libjava/javax/naming/Name.java

31 lines
971 B
Java
Raw Normal View History

2000-11-27 04:16:14 +01:00
/* Copyright (C) 2000 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details. */
package javax.naming;
import java.io.Serializable;
public interface Name extends Cloneable, Serializable
{
2000-11-27 06:57:58 +01:00
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;
2000-11-27 04:16:14 +01:00
}