接口的使用
com.thoughtworks.qdox.library.ErrorHandler
使用ErrorHandler的程序包
程序包
说明
Provides classes to start constructing a java project
Provides classes to construct a classloader-like structure of libraries
There are two types of ClassLibraryBuilders:
SortedClassLibraryBuilder, which bundles the libraries by type
OrderedClassLibraryBuilder, which respects the order of added libraries
There are four types of ClassLibraries:
ClassLoaderLibrary, which uses the classpath to search for sources or binaries
SourceLibrary, which uses a specific sourcefile
SourceFolderLibrary, which tries to locate sourcefiles by translating the package to folders
ClassNameLibrary, which generates an anonymous class, as if it would exist
-
com.thoughtworks.qdox中ErrorHandler的使用
参数类型为ErrorHandler的com.thoughtworks.qdox中的方法修饰符和类型方法说明JavaProjectBuilder.setErrorHandler(ErrorHandler errorHandler) Sets the errorHandler which will be triggered when a parse exception occurs. -
com.thoughtworks.qdox.library中ErrorHandler的使用
修饰符和类型方法说明ClassLibraryBuilder.setErrorHander(ErrorHandler errorHandler) Can handle ParseExceptions instead of crashing.OrderedClassLibraryBuilder.setErrorHander(ErrorHandler errorHandler) SortedClassLibraryBuilder.setErrorHander(ErrorHandler errorHandler) voidClassLoaderLibrary.setErrorHandler(ErrorHandler errorHandler) final voidSourceLibrary.setErrorHandler(ErrorHandler errorHandler)