검색어 입력폼

[컴퓨터공학] java로 구현한 서치엔진

등록일 2004.07.07 파일확장자압축파일 (zip) | 32페이지 | 가격 3,000원

*해당 문서는 미리보기가 지원되지 않습니다.

소개글

서치 엔진을 자바로 구현
수업 term project 결과물 입니다.
정말 신경써서 만든 프로그램입니다

컴파일 실행환경

총 32파일

본문내용

import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.MalformedURLException;
import java.util.StringTokenizer;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingUtilities;

import com.v0o0v.searchEngine.database.DataContainer;
import com.v0o0v.searchEngine.engine.Query;
import com.v0o0v.searchEngine.engine.URLParser;
import com.v0o0v.utiltity.IOtool;
/**
* @author Administrator
*/
public class MainFrame extends JFrame implements ActionListener
{
DataContainer dc = new DataContainer();
URLParser parser = new URLParser(dc);
Query query = new Query(dc);
JTextField searchField = new JTextField(30);
JButton goSearch = new JButton("S e a r c h");
JPanel curPanel;
public MainFrame()
{
super("v0o0v Search Engine");
try
{
//IOtool io = new IOtool("URLS", null);
IOtool io = new IOtool("U", null);
while (true)
{
String temp = io.sread();
if (temp.equals("###"))
break;
if (temp.substring(0,2).equals("//")) continue;
else
{
parser.insertURL(temp);
System.out.println(temp + "에 관한 입력이 완료되었습니다");

압축파일 내 파일목록

.classpath
.project
Main.class
Main.java
SPECIALWORD
STOPWORD
U
URLS
com/v0o0v/searchEngine/database/DataContainer.class
com/v0o0v/searchEngine/database/DataContainer.java
com/v0o0v/searchEngine/database/DictionaryEntry.class
com/v0o0v/searchEngine/database/DictionaryEntry.java
com/v0o0v/searchEngine/database/PostingEntry.class
com/v0o0v/searchEngine/database/PostingEntry.java
com/v0o0v/searchEngine/database/URLContainer.class
com/v0o0v/searchEngine/database/URLContainer.java
com/v0o0v/searchEngine/database/WordEntry.class
com/v0o0v/searchEngine/database/WordEntry.java
com/v0o0v/searchEngine/engine/Query.class
com/v0o0v/searchEngine/engine/Query.java
com/v0o0v/searchEngine/engine/ResultURL.class
com/v0o0v/searchEngine/engine/ResultURL.java
com/v0o0v/searchEngine/engine/URLParser.class
com/v0o0v/searchEngine/engine/URLParser.java
com/v0o0v/searchEngine/GUI/MainFrame.class
com/v0o0v/searchEngine/GUI/MainFrame.java
com/v0o0v/searchEngine/GUI/SearchButton.class
com/v0o0v/searchEngine/GUI/SearchButton.java
com/v0o0v/searchEngine/GUI/SearchPanel.class
com/v0o0v/searchEngine/GUI/SearchPanel.java
com/v0o0v/utiltity/IOtool.class
com/v0o0v/utiltity/IOtool.java

참고 자료

없음
다운로드 맨위로