下面列出了怎么用org.apache.log4j.helpers.NullEnumeration的API类实例代码及写法,或者点击链接到github查看源代码。
/**
Get the appenders contained in this category as an {@link
Enumeration}. If no appenders can be found, then a {@link NullEnumeration}
is returned.
@return Enumeration An enumeration of the appenders in this category. */
synchronized
public
Enumeration getAllAppenders() {
if(aai == null)
return NullEnumeration.getInstance();
else
return aai.getAllAppenders();
}
@SuppressWarnings("rawtypes")
public static Enumeration getCurrentLoggers() {
return NullEnumeration.getInstance();
}
@Override
@SuppressWarnings("rawtypes")
public Enumeration getCurrentLoggers() {
return NullEnumeration.getInstance();
}
@Override
@SuppressWarnings("rawtypes")
public Enumeration getCurrentCategories() {
return NullEnumeration.getInstance();
}
@SuppressWarnings("rawtypes")
public Enumeration getAllAppenders() {
return NullEnumeration.getInstance();
}
@SuppressWarnings("rawtypes")
public static Enumeration getCurrentLoggers() {
return NullEnumeration.getInstance();
}
@Override
@SuppressWarnings("rawtypes")
public Enumeration getCurrentLoggers() {
return NullEnumeration.getInstance();
}
@Override
@SuppressWarnings("rawtypes")
public Enumeration getCurrentCategories() {
return NullEnumeration.getInstance();
}
@SuppressWarnings("rawtypes")
public Enumeration getAllAppenders() {
return NullEnumeration.getInstance();
}