[英]NetBeans can't generate Java Doc?
I don't know why, but it's been a problem for quite some time now. 我不知道为什么,但是现在已经有一段时间了。
I can't seem to generate Java Doc for most of my applications using NetBeans 7.2 (had the same problem with 7.1). 我似乎无法使用NetBeans 7.2为我的大多数应用程序生成Java Doc(与7.1相同的问题)。 I simply can't figure out why I get this error:
我根本无法弄清楚为什么会出现此错误:
java.lang.IllegalArgumentException: Error decoding percent encoded characters
I know what the error means (English duh), but I can't find out why it says this. 我知道错误的含义(英语duh),但我不知道为什么会这样说。 As far as I could see in my Documentation there shouldn't be any "percent encoded characters" unless I am missing what that means entirely.
据我在文档中所看到的,除非我完全不知道那是什么意思,否则不应有任何“百分比编码字符”。
Here is the entire code (one file only, and it's an interface so it's rather short): 这是完整的代码(仅一个文件,并且是一个接口,因此很短):
package access;
import exception.DataException;
import java.util.List;
import table.Row;
/**
*
* @author Vipar
*/
public interface DataAccessor {
/**
* Reads data from a table.
*
* @param table The table.
*
* @param columns The columns to read, or null to read
* all the columns in the table.
*
* @param selectionRow A set of filter columns and values
* use to subset the rows, or null to
* read all the rows in the table.
*
* @param sortColumns The columns to sort, or null to read
* without sorting.
*
* @return The list of rows.
*/
List read(String table,
String[] columns,
Row selectionRow,
String[] sortColumns) throws DataException;
/**
* Inserts data into a table.
*
* @param table The table.
* @param rows The rows to insert
*/
void insert(String table, List rows) throws DataException;
/**
* Updates data in a table.
*
* @param table The table.
*
* @param selectionRow A set of filter columns and values
* used to subset the rows, or null to
* update all of the rows in the table.
*
* @param updateRow A set of update columns and values.
*/
void update(String table,
Row selectionRow,
Row updateRow) throws DataException;
/**
* Deletes data from a table.
*
* @param table The table.
*
* @param selectionRow A set of filter columns and values
* used to subset the rows, or null to
* delete all of the rows in the table.
*/
void delete(String table,
Row selectionRow) throws DataException;
}
Row and DataException does not have any documentation because currently both are empty. Row和DataException没有任何文档,因为当前两者均为空。 I just wanted to test how the documentation would look.
我只是想测试文档的外观。
I use Java 1.7 我使用Java 1.7
I tested your class --> javadoc is generated as usual. 我测试了您的类->照常生成了javadoc。
Please check these settings ( contextmenu of project -> Properties
): 请检查以下设置(
contextmenu of project -> Properties
):
Sources -> Encoding: UTF-8
: What do you have here? Sources -> Encoding: UTF-8
:您在这里拥有什么? Build -> Documenting
: Do you have set some Javadoc Options ? Build -> Documenting
:您是否设置了一些Javadoc选项 ? If you have settings in this textfield remove them and try again.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.