+++ /dev/null
-/*\r
- * Javassist, a Java-bytecode translator toolkit.\r
- * Copyright (C) 1999-2004 Shigeru Chiba. All Rights Reserved.\r
- *\r
- * The contents of this file are subject to the Mozilla Public License Version\r
- * 1.1 (the "License"); you may not use this file except in compliance with\r
- * the License. Alternatively, the contents of this file may be used under\r
- * the terms of the GNU Lesser General Public License Version 2.1 or later.\r
- *\r
- * Software distributed under the License is distributed on an "AS IS" basis,\r
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\r
- * for the specific language governing rights and limitations under the\r
- * License.\r
- */\r
-\r
-package javassist;\r
-\r
-import java.io.DataOutputStream;\r
-import java.io.IOException;\r
-import java.net.URL;\r
-\r
-/**\r
- * Abstract root of ClassPool and ClassPoolTail.\r
- */\r
-abstract class AbsClassPool {\r
- public abstract String toString();\r
-\r
- public abstract void recordInvalidClassName(String name);\r
-\r
- abstract byte[] readSource(String classname)\r
- throws NotFoundException, IOException, CannotCompileException;\r
-\r
- abstract boolean write0(String classname, DataOutputStream out,\r
- boolean callback)\r
- throws NotFoundException, CannotCompileException, IOException;\r
-\r
- abstract URL find(String classname);\r
-\r
- public abstract ClassPath appendSystemPath();\r
- public abstract ClassPath insertClassPath(ClassPath cp);\r
- public abstract ClassPath appendClassPath(ClassPath cp);\r
- public abstract ClassPath insertClassPath(String pathname)\r
- throws NotFoundException;\r
- public abstract ClassPath appendClassPath(String pathname)\r
- throws NotFoundException;\r
- public abstract void removeClassPath(ClassPath cp);\r
-}\r