ÌáÈ¡ÍøÒ³µÄͼƬÁ´½ÓµÄ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
Ïà¹ØÎĵµ£º
ʲôÊÇjavaÐòÁл¯£¬ÈçºÎʵÏÖjavaÐòÁл¯£¿
´ð£ºÐòÁл¯¾ÍÊÇÒ»ÖÖÓÃÀ´´¦Àí¶ÔÏóÁ÷µÄ»úÖÆ£¬Ëùν¶ÔÏóÁ÷Ò²¾ÍÊǽ«¶ÔÏóµÄÄÚÈݽøÐÐÁ÷»¯¡£¿ÉÒÔ¶ÔÁ÷»¯ºóµÄ¶ÔÏó½øÐжÁд²Ù×÷£¬Ò²¿É½«Á÷»¯ºóµÄ¶ÔÏó´«ÊäÓÚÍøÂçÖ®¼ä¡£ÐòÁл¯ÊÇΪÁ˽â¾öÔÚ¶Ô¶ÔÏóÁ÷½øÐжÁд²Ù×÷ʱËùÒý·¢µÄÎÊÌâ¡£
ÐòÁл¯µÄʵÏÖ£º½«ÐèÒª±»ÐòÁл¯µÄÀàʵÏÖSerializable½Ó¿Ú£¬¸Ã½Ó¿Ú ......
¹ØÓÚÏß³ÌÊÇJavaÓïÑÔÖкÜÖØÒªµÄÒ»¿é£¬ÔÚ³ÌÐòÖÐÓÐºÜ¶àµØ·½Ò²Ê¹ÓÃÏ̡߳£µ«ÊÇÕæÕý¿¼ÂÇÈçºÎÔÚÊʺϵij¡ºÏʹÓÃÏß³ÌÄØ£¿²ÉÓÃÏß³Ì×îÃ÷ÏԵľÍÊÇÓÃÓÚÒì²½²Ù×÷´¦Àí¡£ÄÇôΪºÎҪʹÓÃÒì²½·½Ê½ÄØ£¿
ÏÈÀ´½éÉÜÏÂΪʲôÓÐÁ˽ø³Ì£¬»¹ÐèÒªÏ̡߳£
µÚÒ»£º²¢ÐÐʵÌå¹²Ïíͬһ¸öµØÖ·¿Õ¼äºÍËùÓпÉÓÃÊý¾ÝµÄÄÜÁ¦¡£
µÚ¶þ£ºÏ̱߳Ƚø³Ì¸üÇáÁ¿¼¶£¬±È½ø³Ì¸ü ......
¡ö ¿ª·¢Ç°ÒªÇóÅäÖÃ
¡ö Select XML¸ñʽÊý¾Ý
¡ö Insert XML¸ñʽÊý¾Ý
¡ö Updata XML¸ñʽÊý¾Ý
¡ö Delete XML¸ñʽÊý¾Ý
¿ª·¢Ç°ÒªÇóÅäÖÃ
±ØÐë°²×°Oracle¿Í»§¶Ë
°ÑClasspathÖ¸Ïò
classes111.zip ......
String Agent = request.getHeader("User-Agent");
StringTokenizer st = new StringTokenizer(Agent,";");
st.nextToken();
//µÃµ½Óû§µÄä¯ÀÀÆ÷Ãû
String userbrowser = st.nextToken();
//µÃµ½Óû§µÄ²Ù×÷ϵͳÃû
String useros = st.nextToken();
È¡µÃ±¾»úµÄÐÅÏ¢Ò²¿ÉÒÔÕâÑù£º
²Ù×÷ϵͳÐÅÏ¢
System.getProperty("o ......
1.¹¹Ôì·½·¨£ºÊÇÖ¸·½·¨ÃûÓëÀàÃûÏàͬµÄ·½·¨£¬°üÀ¨“×Ô¶¨Òå¹¹Ôì·½·¨”ºÍ“ĬÈϵĹ¹Ôì·½·¨”
ÔÚ´´½¨¶ÔÏóʱ Èç¹ûÀàÖÐÒѾ×Ô¶¨ÒåÁ˹¹Ôì·½·¨ ÄÇô±ØÐëʹÓøù¹Ôì·½·¨À´¹¹Ôì¶ÔÏó£»Èç¹ûÀ ......