The MINERVA example program GetURL shows...
Move to
Next Prev
Up Top
See also
HelloWorld
Use Parameters
Directives
Debugger
Arithmetic
Constraints
File From Server
AppletLoadsFile
GetURL
Client-Server with Sockets
Date
ExecProcess
ExecProcess_2
GUI
GuiEvents
Gui Image
Interactive
JavaToMinerva_1
JavaToMinerva_2
JavaToMinerva_3
JavaToMinerva_4
JavaToMinerva_5
JavaToMinerva_6
Java Applet Uses Minerva
JavaArrays
MinervaToJava
MinervaToJavaScript
MinervaToJava_1
MinervaToJava_2
MinervaToJava_3
MinervaToJava_4
Reflection
Servlet
JDBC
Internationalization
StartupArchive
IF Computer > MINERVA > Example Programs > MINERVA Features > GetURL

GetURL

The MINERVA example program GetURL shows

  • how to use MINERVA to read a file from the Internet
  • how to use a URL as an input stream
  • how to process a text file in units of lines and characters
  • how to do this as standalone and applet
  • how to work with exceptions
The applet wrapper is getURL.html

The MINERVA source program is getURL.min

Refer to 'Compile', 'Go' and the other files of this directory for details.

In the applet, just type a URL in the input line of the applet then the program will get the file and copy the file to stdout. (Java security exceptions will occur for URLs from other hosts and for file urls).

As a standalone the program can go for any text file url, thus can be the sucking end of a web crawler or internet search engine.

Questions? Problems? Feedback? Please let us know! mailto:support@ifcomputer.com

read on...
MINERVA
ifcomputer logo
f
Expert Services on the Web
Language
English
Japanese
Server
USA
Japan
Site Access
Local Index
Local Contents
Site Contents
Site Index
Printer Friendly
For imode
For PDA
Search
document: http://www.ifcomputer.co.jp/MINERVA/ExamplePrograms/MinervaFeatures/GetURL/home_en.html
published 2012/1/30 update 2001/3/22 (c) 1996-2009 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
scroll to top managed with ubiCMS