JavaTM Platform
Standard Ed. 6

javax.tools
ö�� JavaFileObject.Kind

java.lang.Object
  �̳��� java.lang.Enum<JavaFileObject.Kind>
      �̳��� javax.tools.JavaFileObject.Kind
������ʵ�ֵĽӿڣ�
Serializable, Comparable<JavaFileObject.Kind>
���ڷ�սӿڣ�
JavaFileObject

public static enum JavaFileObject.Kind
extends Enum<JavaFileObject.Kind>

JavaFileObject �����ࡣ


ö�ٳ���ժҪ
CLASS
          Java Virtual Machine �����ļ���
HTML
          HTML �ļ���
OTHER
          �����������ࡣ
SOURCE
          �� Java ������Ա�д��Դ�ļ���
 
�ֶ�ժҪ
 String extension
          ͨ�����ڴ����ļ��������չ��������Լ������
 
����ժҪ
static JavaFileObject.Kind valueOf(String name)
          ���ش���ָ�����Ƶĸ����͵�ö�ٳ�����
static JavaFileObject.Kind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
���� java.lang.Enum �̳еķ���
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
���� java.lang.Object �̳еķ���
getClass, notify, notifyAll, wait, wait, wait
 

ö�ٳ�����ϸ��Ϣ

SOURCE

public static final JavaFileObject.Kind SOURCE
�� Java ������Ա�д��Դ�ļ������磬�� .java ��β�ij����ļ���


CLASS

public static final JavaFileObject.Kind CLASS
Java Virtual Machine �����ļ������磬�� .class ��β�ij����ļ���


HTML

public static final JavaFileObject.Kind HTML
HTML �ļ������磬�� .html ��β�ij����ļ���


OTHER

public static final JavaFileObject.Kind OTHER
�����������ࡣ

�ֶ���ϸ��Ϣ

extension

public final String extension
ͨ�����ڴ����ļ��������չ��������Լ���������û��Լ������ʹ�ÿ��ַ�����&quot;&quot;����

������ϸ��Ϣ

values

public static final JavaFileObject.Kind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for(JavaFileObject.Kind c : JavaFileObject.Kind.values())
        System.out.println(c);

���أ�
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JavaFileObject.Kind valueOf(String name)
���ش���ָ�����Ƶĸ����͵�ö�ٳ����� �ַ����������������������͵�ö�ٳ����� ��ʶ����ȫƥ�䡣���������ж��� �Ŀո񡣣�

������
ָ��Ҫ���ص�ö�ٳ��������ơ� -
���أ�
���ش���ָ�����Ƶ�ö�ٳ���
�׳���
�����ö������û�д���ָ�����Ƶij����� - ���׳� IllegalArgumentException

JavaTM Platform
Standard Ed. 6

�ύ��������
�йظ���� API �ο����ϺͿ�����Ա�ĵ�������� Java SE ������Ա�ĵ������ĵ���������ϸ�ġ����򿪷���Ա���������Լ�������������ﶨ�塢ʹ�ü��ɺ͹�������ʾ����

��Ȩ���� 2007 Sun Microsystems, Inc. ��������Ȩ���� ����������֤��������������ĵ����·ַ�������