ÌáÈ¡ÍøÒ³µÄͼƬÁ´½ÓµÄJava³ÌÐò
ÊäÈëÍøÒ³ÎļþÃû£¬ºÍ×ÊÔ´ÁбíÎļþÃû
Êä³ö×ÊÔ´ÁбíÎļþ¹©Ñ¸À×ÏÂÔØ¡£
ÊÊÓÃÓÚÅúÁ¿ÏÂÔØÍ¼Æ¬¡£
ÓÉÁ½¸öÎļþ×é³É¡£
ûÓÐÌá¹©ÍøÒ³ÏÂÔØ¹¦ÄÜ£¬ÒòΪÎÒûÓÐʱ¼äд£¬Ïà¹ØµÄ´úÂëÒÔºóÔÙÌù¡£
1
//
AnalizeIMG.java
2
3
//
Ö÷³ÌÐò
4
5
import
java.io.BufferedReader;
6
import
java.io.File;
7
import
java.io.FileReader;
8
import
java.io.FileWriter;
9
import
java.io.IOException;
10
11
12
public
class
AnalizeIMG
{
13
14
public
void
p(String s)
15
{
16
System.out.println(s);
17
}
18
19
public
void
analizeFile(String infile,String outfile)
throws
Exception
20
{
21
File file
=
new
File(infile);
22
if
(file
==
null
||
!
file.exists())
{
23
p(
"
File
"
+
infile
+
"
not exits !
"
);
24
}
25
26
if
(
!
file.canRead())
{
27
p(
"
File
"
+
infile
+
"
can't read !
"
);
28
29
}
30
31
String strLine
=
null
;
32
FileReader frd
=
new
FileReader(infile);
33
BufferedReader bufferedReader
=
new
BufferedReader(frd);
34
try
{
35
AnalizeWebParse parse
=
new
AnalizeWebParse();
36
String s
=
parse.parse(bufferedReader);
37
38
createFile(outfile,s);
39
40
Ïà¹ØÎĵµ£º
Ò»°ã¶øÑÔ£¬¿ª·¢ÕßÉçȺ˵µ½¶¯Ì¬ÓïÑÔ£¬´óÖÂÈÏͬµÄÒ»¸ö¶¨ÒåÊÇ£º“³ÌÐòÔËÐÐʱ£¬ÔËÐиıä³ÌÐò½á¹¹»ò±äÁ¿ÀàÐÍ£¬ÕâÖÖÓïÑÔ³ÆÎª¶¯Ì¬ÓïÑÔ”¡£´ÓÕâ¸ö¹Ûµã¿´£¬perl,phthon,rubyÊǶ¯Ì¬ÓïÑÔ£¬C++,JAVA,C#²»ÊǶ¯Ì¬ÓïÑÔ¡£
ÔÚJavaÔËÐÐʱ»·¾³ÖУ¬¶ÔÓÚÈÎÒâÒ»¸öÀ࣬ÄÜ·ñÖªµÀÕâ¸öÀàÓÐÄÄЩÊôÐԺͷ½·¨£¿¶ÔÓÚÈÎÒâÒ»¸ö¶ÔÏó£¬ÄÜ·ñµ ......
×î½üÔÚ¹¤×÷ÖУ¬¾³£Éè¼Æ±¨±í£¨ireport+jasperReport£©·´¸´ºÍÉè¼ÆÄ£°åxml´ò½»µÀ£¬ÓÚÊǾÍÓÐÁËдÕâÆªÎÄÕµÄÏë·¨ÁË¡£java²Ù×÷xmlÖ÷ÒªÊÇÓÐËÄÖÖ·½Ê½£ºdom£¬sax£¬jdom£¬dom4j¡£ÕâËÄÖÖ·½Ê½¸÷ÓÐÓÅȱµã£º£¨ÒÔϱȽÏÊÇÀ´×ÔÍøÂ磩
1£ºDOM4JÐÔÄÜ×îºÃ£¬Á¬SunµÄJAXMÒ²ÔÚÓÃDOM4J.ĿǰÐí¶à¿ªÔ´ÏîÄ¿ÖдóÁ¿²ÉÓÃDOM4J£¬ÀýÈç´óÃû¶¦¶¦µÄHibernate ......
¹ØÓÚÏß³ÌÊÇJavaÓïÑÔÖкÜÖØÒªµÄÒ»¿é£¬ÔÚ³ÌÐòÖÐÓÐºÜ¶àµØ·½Ò²Ê¹ÓÃÏ̡߳£µ«ÊÇÕæÕý¿¼ÂÇÈçºÎÔÚÊʺϵij¡ºÏʹÓÃÏß³ÌÄØ£¿²ÉÓÃÏß³Ì×îÃ÷ÏԵľÍÊÇÓÃÓÚÒì²½²Ù×÷´¦Àí¡£ÄÇôΪºÎҪʹÓÃÒì²½·½Ê½ÄØ£¿
ÏÈÀ´½éÉÜÏÂΪʲôÓÐÁ˽ø³Ì£¬»¹ÐèÒªÏ̡߳£
µÚÒ»£º²¢ÐÐʵÌå¹²Ïíͬһ¸öµØÖ·¿Õ¼äºÍËùÓпÉÓÃÊý¾ÝµÄÄÜÁ¦¡£
µÚ¶þ£ºÏ̱߳Ƚø³Ì¸üÇáÁ¿¼¶£¬±È½ø³Ì¸ü ......
×÷Õߣºrobbin
꿅᣼http://www.fankai.com/
Java Learning Path £¨Ò»£©¡¢¹¤¾ßƪ
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕ ......
1.¹¹Ôì·½·¨£ºÊÇÖ¸·½·¨ÃûÓëÀàÃûÏàͬµÄ·½·¨£¬°üÀ¨“×Ô¶¨Òå¹¹Ôì·½·¨”ºÍ“ĬÈϵĹ¹Ôì·½·¨”
ÔÚ´´½¨¶ÔÏóʱ Èç¹ûÀàÖÐÒѾ×Ô¶¨ÒåÁ˹¹Ôì·½·¨ ÄÇô±ØÐëʹÓøù¹Ôì·½·¨À´¹¹Ôì¶ÔÏó£»Èç¹ûÀ ......