<!DOCTYPE Highlight>
<Highlight wildcards="*.java *.JAVA" name="Java">

 <Items>
  <Text                style=""  color="#000000" />
  <Decimal             style=""  color="#808080" />
  <Octal               style=""  color="#A0A000" />
  <Hex                 style=""  color="#800000" />
  <Float               style=""  color="#00c0c0" />
  <Keyword             style="" color="#0000ff" />
  <Type                style="" color="#a52a2a" />
  <Char                style=""  color="#df8080" />
  <Class		style="b" color="#0000ff" />
  <String              style=""  color="#ff0000" />
  <Memo                style=""  color="#008000" />
  <LineContinue        style=""  color="#000080" />
 </Items>

 <Break>
  <normal>
   <citem item="" regexp="&quot;"                         lineEndContent="string" />
   <citem item="" regexp="//.*"        mode="until, include" lineEndContent="normal" />
   <citem item="" regexp="/\*"         mode="until, include" lineEndContent="multiLineComment" />
   <citem item="" regexp="[^\\]&quot;" mode="until, include" lineEndContent="string" />
   <citem item="" regexp="$"           mode="until" />
  </normal>

  <string>
   <citem item="" regexp="&quot;"                            lineEndContent="normal" />
   <citem item="" regexp="[^\\]&quot;" mode="until, include" lineEndContent="normal" />
   <citem item="" regexp="$"           mode="until" />
  </string>

  <multiLineComment>
   <citem item="" regexp="\*/" mode="until, exclude, allowfull"/>
   <citem item="" regexp="\*/" lineEndContent="normal" />
  </multiLineComment>

 </Break>

 <Contents>
  <normal>
   <citem item="Text" regexp="\s+" />
   
   <citem item="Keyword"   regexp="class" lineEndContent="class" />

   <citem item="Type"      regexp="\w+"    keyword="auto char uchar const double float int uint long register short signed static unsigned void volatile bool" />
   <citem item="Keyword"   regexp="[\w_]+" keyword="abstract boolean break byte case catch char class const continue default do double else extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short static strictfp super switch synchronized this throw throws transient try void volatile while" />

   <citem item="Memo" regexp="//.*" />
   <citem item="Memo" regexp="/\*" lineEndContent="multiLineComment" />

   <citem item="String" regexp="&quot;" lineEndContent="string" />

   <citem item="Float"   regexp="\d*\.\d+[eE]\+\d+[uUfFlL]?" />
   <citem item="Float"   regexp="\d*\.\d+[uUfFlL]?" />
   <citem item="Hex"     regexp="0[xX][\da-fA-F]+[uUlL]?" />
   <citem item="Octal"   regexp="0[0-7]+[uUlL]?" />
   <citem item="Decimal" regexp="\d+[uUlL]?" />

   <citem item="Char" regexp="'.'" />
   <citem item="Char" regexp="'\\([abefnrtv'\\&quot;]|x[\da-fA-F]+|[0-7]+)'" />

   <citem item="LineContinue" regexp="\\$" />

   <citem item="Text" regexp="[\w_]+" lineEndContent="normal" />
   <citem item="Text" regexp="\s+"    lineEndContent="normal" />
   <citem item="Text" regexp="\W"     lineEndContent="normal" />
  </normal>

  <string>
   <citem item="String" regexp="[^&quot;\\]+" />
   <citem item="String" regexp="&quot;" lineEndContent="normal" />
   <citem item="Char" regexp="\\([abefnrtv'\\&quot;]|x[\da-fA-F]+|[0-7]+)" />
   <citem item="LineContinue" regexp="\\" />
  </string>
  
  <class>
   <citem item="Class" regexp="\s*\w*" lineEndContent="normal" />
  </class>

  <multiLineComment>
   <citem item="Memo" regexp="\*/" mode="until, exclude, allowfull"/>
   <citem item="Memo" regexp="\*/" lineEndContent="normal" />
  </multiLineComment>

 </Contents>

</Highlight>
