Rome is now used to create and read the various feed.
This commit is contained in:
parent
2f11c58c62
commit
f8d0a80c2c
29 changed files with 789 additions and 1232 deletions
|
@ -1,6 +1,8 @@
|
|||
DevSuite
|
||||
build
|
||||
dist
|
||||
log4j.properties
|
||||
mobibot.properties
|
||||
fetcher.properties
|
||||
*.ser
|
||||
logs
|
BIN
ant/jreleaseinfo-1.2.0.jar
Normal file
BIN
ant/jreleaseinfo-1.2.0.jar
Normal file
Binary file not shown.
|
@ -1 +1,12 @@
|
|||
main.class=net.thauvin.erik.mobibot.Mobibot
|
||||
# Project
|
||||
proj.name=mobibot
|
||||
proj.version=0.2
|
||||
proj.package=net.thauvin.erik.mobibot
|
||||
proj.run=${proj.package}.Mobibot
|
||||
|
||||
# Locations
|
||||
path.classes=build
|
||||
path.src=src
|
||||
path.dist=dist
|
||||
path.lib=lib
|
||||
path.ant=ant
|
13
build.xml
13
build.xml
|
@ -1,10 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="mobibot" default="build" basedir=".">
|
||||
<property file="${basedir}/build.properties" />
|
||||
<property name="path.classes" value="build" />
|
||||
<property name="path.src" value="src" />
|
||||
<property name="path.dist" value="dist" />
|
||||
<property name="path.lib" value="lib" />
|
||||
<path id="path.source">
|
||||
<pathelement location="${path.src}" />
|
||||
</path>
|
||||
|
@ -13,12 +9,19 @@
|
|||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
<path id="ant.class">
|
||||
<fileset dir="${path.ant}">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
<taskdef name="jreleaseinfo" classname="ch.oscg.jreleaseinfo.anttask.JReleaseInfoAntTask" classpathref="ant.class"/>
|
||||
<target name="init">
|
||||
<tstamp />
|
||||
<mkdir dir="${path.classes}"/>
|
||||
<mkdir dir="${path.dist}"/>
|
||||
</target>
|
||||
<target name="compile" depends="init" description="Compiles sources">
|
||||
<jreleaseinfo targetDir="${basedir}/${path.src}" className="ReleaseInfo" packageName="${proj.package}" project="${proj.name}" version="${proj.version}" buildnumfile="${basedir}/buildnum.properties"/>
|
||||
<mkdir dir="${path.classes}" />
|
||||
<javac sourcepathref="path.source" classpathref="path.class" destdir="${path.classes}" debug="on" deprecation="on">
|
||||
<src refid="path.source" />
|
||||
|
@ -34,7 +37,7 @@
|
|||
</pathconvert>
|
||||
<jar destfile="${basedir}/${path.dist}/${ant.project.name}.jar" basedir="${path.classes}" excludes="**/.dependency-info/**">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="${main.class}"/>
|
||||
<attribute name="Main-Class" value="${proj.run}"/>
|
||||
<attribute name="Class-Path" value=". ${mf.lib}"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
|
|
3
buildnum.properties
Normal file
3
buildnum.properties
Normal file
|
@ -0,0 +1,3 @@
|
|||
#ANT Task: ch.oscg.jreleaseinfo.BuildNumberHandler
|
||||
#Thu Sep 23 13:38:29 PDT 2004
|
||||
build.num.last=1
|
BIN
lib/EXML.jar
BIN
lib/EXML.jar
Binary file not shown.
BIN
lib/fetchrss.jar
BIN
lib/fetchrss.jar
Binary file not shown.
BIN
lib/jdom-1.0.jar
Normal file
BIN
lib/jdom-1.0.jar
Normal file
Binary file not shown.
BIN
lib/jdom.jar
BIN
lib/jdom.jar
Binary file not shown.
BIN
lib/pircbot.jar
BIN
lib/pircbot.jar
Binary file not shown.
BIN
lib/rome-0.4.jar
Normal file
BIN
lib/rome-0.4.jar
Normal file
Binary file not shown.
BIN
lib/rome-fetcher-0.4.jar
Normal file
BIN
lib/rome-fetcher-0.4.jar
Normal file
Binary file not shown.
BIN
lib/rsslibj.jar
BIN
lib/rsslibj.jar
Binary file not shown.
|
@ -1,57 +0,0 @@
|
|||
TERMS AND CONDITIONS FOR ELECTRIC XML
|
||||
Please read this license agreement carefully. Your use of Electric XML or any
|
||||
related documentation indicates your acceptance of the following terms and
|
||||
conditions. If you do not agree to these terms and conditions, you may not
|
||||
install or use Electric XML. The term Electric XML refers to both the basic
|
||||
Electric XML software and Electric XML+.
|
||||
1. Ownership and License. Electric XML is owned by The Mind Electric and is
|
||||
copyrighted and licensed, not sold. The Mind Electric grants you a
|
||||
non-exclusive, non-transferable license to use, modify and distribute Electric
|
||||
XML in both binary and source form as long as all of the following conditions
|
||||
are met:
|
||||
You are not bundling Electric XML or a derivative of it as part of a software
|
||||
development environment such as JBuilder, WebGain or VisualAge. Note that this
|
||||
restriction is targeted at IDE vendors, and does not prevent developers from
|
||||
loading Electric XML into an IDE and using it during everyday development.
|
||||
You are not integrating Electric XML or a derivative of it into a distributed
|
||||
computing infrastructure or database platform such as WebLogic, Apache SOAP,
|
||||
WebSphere, Oracle application server, or HP e-speak. Note that this
|
||||
restriction is targeted at software infrastructure vendors, and does not
|
||||
prevent developers from using and bundling Electric XML with applications that
|
||||
run on these platforms.
|
||||
You are not integrating Electric XML or a derivative of it into an alternative
|
||||
to Electric XML such as Xerces or JDOM.
|
||||
You must not remove any of the copyright information from the Electric XML
|
||||
source code or documentation.
|
||||
If you cannot meet all of these conditions, please contact us to arrange a
|
||||
special custom license.
|
||||
2. Term and Termination
|
||||
This Agreement is effective until terminated. You may terminate this Agreement
|
||||
at any time by destroying all copies of Electric XML. This Agreement will
|
||||
terminate immediately without notice from The Mind Electric if you fail to
|
||||
comply with any provision of this Agreement. Upon termination, you must destroy
|
||||
all copies of Electric XML.
|
||||
3. Warranty Disclaimer and Limitation of Liability
|
||||
The Mind Electric licenses the Software to you on an "as is" basis, without
|
||||
warranty of any kind. The Mind Electric hereby expressly disclaims all
|
||||
warranties or conditions, either express or implied, including, but not limited
|
||||
to, the implied warranties or conditions of merchantability and fitness for a
|
||||
particular purpose. You are solely responsible for determining the
|
||||
appropriateness of using Electric XML and assume all risks associated with the
|
||||
use of it, including but not limited to the risks of program errors, damage to
|
||||
or loss of data, programs or equipment, and unavailability or interruption of
|
||||
operations. Some jurisdictions do not allow for the exclusion or limitation of
|
||||
implied warranties, so the above limitations or exclusions may not apply to you.
|
||||
The Mind Electric will not be liable for any direct damages or for any special,
|
||||
incidental, or indirect damages or for any economic consequential damages
|
||||
(including lost profits or savings), even if The Mind Electric has been advised
|
||||
of the possibility of such damages. The Mind Electric will not be liable for the
|
||||
loss of, or damage to, your records or data, or any damages claimed by you based
|
||||
on a third party claim. Some jurisdictions do not allow for the exclusion or
|
||||
limitation of incidental or consequential damages, so the above limitations or
|
||||
exclusions may not apply to you.
|
||||
4. General
|
||||
This Agreement is governed by the laws of the State of Texas. This Agreement is
|
||||
the only understanding and agreement we have regarding your use of Electric XML.
|
||||
It supersedes all other communications, understandings or agreements we may have
|
||||
had prior to this Agreement.
|
14
licenses/ROME License.txt
Normal file
14
licenses/ROME License.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
Copyright 2004 Sun Microsystems, Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
Apache Software License
|
||||
Version 1.1
|
||||
|
||||
Copyright (c) 2000 The Apache Software Foundation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation and/or
|
||||
other materials provided with the distribution.
|
||||
|
||||
3. The end-user documentation included with the redistribution, if any, must
|
||||
include the following acknowledgment:
|
||||
|
||||
"This product includes software developed by the Apache Software Foundation
|
||||
(http://www.apache.org/)."
|
||||
|
||||
Alternately, this acknowledgment may appear in the software itself, if and
|
||||
wherever such third-party acknowledgments normally appear.
|
||||
|
||||
4. The names "Apache" and "Apache Software Foundation" must not be used to
|
||||
endorse or promote products derived from this software without prior written
|
||||
permission. For written permission, please contact apache@apache.org.
|
||||
|
||||
5. Products derived from this software may not be called "Apache", nor may
|
||||
"Apache" appear in their name, without prior written permission of the Apache
|
||||
Software Foundation.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE
|
||||
SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
||||
This software consists of voluntary contributions made by many individuals on
|
||||
behalf of the Apache Software Foundation. For more information on the Apache
|
||||
Software Foundation, please see <http://www.apache.org/>.
|
||||
|
||||
Portions of this software are based upon public domain software originally
|
||||
written at the National Center for Supercomputing Applications, University of
|
||||
Illinois, Urbana-Champaign.
|
||||
|
||||
Electric XML is owned by The Mind Electric and is copyrighted and licensed, not
|
||||
sold. The Mind Electric grants you a non-exclusive, non-transferable license to
|
||||
use, modify and distribute Electric XML in both binary and source form as long
|
||||
as all of the following conditions are met:
|
||||
|
||||
You are not bundling Electric XML or a derivative of it as part of a software
|
||||
development environment such as JBuilder, WebGain or VisualAge. Note that this
|
||||
restriction is targeted at IDE vendors, and does not prevent developers from
|
||||
loading Electric XML into an IDE and using it during everyday development.
|
||||
|
||||
|
||||
You are not integrating Electric XML or a derivative of it into a distributed
|
||||
computing infrastructure or database platform such as WebLogic, Apache SOAP,
|
||||
WebSphere, Oracle application server, or HP e-speak. Note that this restriction
|
||||
is targeted at software infrastructure vendors, and does not prevent developers
|
||||
from using and bundling Electric XML with applications that run on these
|
||||
platforms.
|
||||
|
||||
|
||||
You are not integrating Electric XML or a derivative of it into an alternative
|
||||
to Electric XML such as Xerces or JDOM.
|
||||
|
||||
|
||||
You must not remove any of the copyright information from the Electric XML
|
||||
source code or documentation.
|
||||
|
||||
|
|
@ -1,502 +0,0 @@
|
|||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
63
mobibot.iml
63
mobibot.iml
|
@ -9,24 +9,6 @@
|
|||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/fetchrss.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/jdom.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
|
@ -63,24 +45,6 @@
|
|||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/EXML.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/rsslibj.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
|
@ -144,6 +108,33 @@
|
|||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/jdom-1.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/rome-0.4.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/lib/rome-fetcher-0.4.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
|
|
25
mobibot.ipr
25
mobibot.ipr
|
@ -118,6 +118,29 @@
|
|||
<option name="IS_EMACS_ERRORS_MODE" value="true" />
|
||||
<option name="ADDITIONAL_OPTIONS_STRING" value="" />
|
||||
</component>
|
||||
<component name="PEExternalization">
|
||||
<option name="IGNORE_METHOD_NAMES" value="" />
|
||||
<option name="IGNORE_METHOD_NAMES_ENABLED" value="false" />
|
||||
<option name="IGNORE_CLASS_CONSTRUCTORS">
|
||||
<value>
|
||||
<option class="Exception" includeInheritors="true" />
|
||||
</value>
|
||||
</option>
|
||||
<option name="IGNORE_CLASS_CONSTRUCTOR_NAMES_ENABLED" value="true" />
|
||||
<option name="IGNORE_CLASS_METHODS_ENABLED" value="true" />
|
||||
<option name="IGNORE_STRINGS_CONTAINS_ONLY_ENABLED" value="true" />
|
||||
<option name="IGNORE_STRINGS_CONTAINS_ONLY_WHITESPACES" value="true" />
|
||||
<option name="IGNORE_STRINGS_CONTAINS_ONLY_PUNCTUATIONS" value="true" />
|
||||
<option name="IGNORE_STRINGS_CONTAINS_ONLY_SPECIFIED_ENABLED" value="true" />
|
||||
<option name="IGNORE_STRINGS_CONTAINS_ONLY_SPECIFIED" value="" />
|
||||
<option name="IGNORE_CLASS_METHODS">
|
||||
<value>
|
||||
<option class="Exception" includeInheritors="false" />
|
||||
<option class="java.util.ResourceBundle" includeInheritors="true" />
|
||||
</value>
|
||||
</option>
|
||||
<option name="IGNORE_CONSTANTS_DECLARATIONS" value="true" />
|
||||
</component>
|
||||
<component name="Palette2">
|
||||
<group name="Swing">
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false">
|
||||
|
@ -235,6 +258,8 @@
|
|||
<option name="pos4" value="444" />
|
||||
<option name="pos5" value="117" />
|
||||
<option name="autoUpdate" value="true" />
|
||||
<option name="referenceOn" value="false" />
|
||||
<option name="referencePos" value="0" />
|
||||
</component>
|
||||
<component name="RmicSettings">
|
||||
<option name="IS_EANABLED" value="false" />
|
||||
|
|
309
mobibot.iws
309
mobibot.iws
|
@ -71,7 +71,7 @@
|
|||
<option name="PUT_FOCUS_INTO_COMMENT" value="false" />
|
||||
<option name="SHOW_CHECKIN_OPTIONS" value="true" />
|
||||
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="The weather command help is now returned when a station id is not specified." />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="Commons HTTPClinet 2.0.1 update. Added automated backup for the data file." />
|
||||
<option name="SAVE_LAST_COMMIT_MESSAGE" value="true" />
|
||||
<option name="CHECKIN_DIALOG_SPLITTER_PROPORTION" value="0.8" />
|
||||
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
||||
|
@ -112,67 +112,58 @@
|
|||
<option name="HIDE_WARNINGS" value="false" />
|
||||
</component>
|
||||
<component name="FileEditorManager" split-orientation="vertical" split-proportion="0.5">
|
||||
<first-group selected-file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/Mobibot.java">
|
||||
<first-group selected-file="file://$PROJECT_DIR$/website/index.html">
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/Mobibot.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="63" column="65" selection-start="2257" selection-end="2257" vertical-scroll-proportion="0.8733945">
|
||||
<state line="2470" column="12" selection-start="58492" selection-end="58492" vertical-scroll-proportion="0.2146789">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/build.xml" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="26" column="4" selection-start="884" selection-end="884" vertical-scroll-proportion="0.81100917">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/StockQuote.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="53" column="13" selection-start="2037" selection-end="2037" vertical-scroll-proportion="0.5614679">
|
||||
<state line="45" column="20" selection-start="1866" selection-end="1866" vertical-scroll-proportion="0.3119266">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/CurrencyConverter.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="151" column="87" selection-start="4160" selection-end="4231" vertical-scroll-proportion="1.0899082">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/Weather.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="173" column="12" selection-start="4757" selection-end="4757" vertical-scroll-proportion="1.0899082">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/GoogleSearch.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="157" column="108" selection-start="4458" selection-end="4458" vertical-scroll-proportion="1.0623853">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/FeedReader.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="151" column="53" selection-start="4082" selection-end="4082" vertical-scroll-proportion="1.0477064">
|
||||
<state line="101" column="51" selection-start="2966" selection-end="2966" vertical-scroll-proportion="0.8587156">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/EntryLink.java" pinned="false">
|
||||
<entry file="file://$PROJECT_DIR$/website/index.html" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="55" column="13" selection-start="2034" selection-end="2034" vertical-scroll-proportion="0.6238532">
|
||||
<state line="23" column="49" selection-start="1614" selection-end="1614" vertical-scroll-proportion="0.7174312">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/ReleaseInfo.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="11" column="13" selection-start="309" selection-end="309" vertical-scroll-proportion="0.033928573">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/Weather.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="100" column="0" selection-start="3001" selection-end="3001" vertical-scroll-proportion="1.0899082">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/CurrencyConverter.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="180" column="0" selection-start="5069" selection-end="5069" vertical-scroll-proportion="1.0899082">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
|
@ -181,13 +172,27 @@
|
|||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/EntryComment.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="53" column="13" selection-start="2016" selection-end="2016" vertical-scroll-proportion="0.5614679">
|
||||
<state line="63" column="113" selection-start="2248" selection-end="2248" vertical-scroll-proportion="0.07339449">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/EntryLink.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="97" column="34" selection-start="2962" selection-end="2962" vertical-scroll-proportion="0.06788991">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/GoogleSearch.java" pinned="false">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="54" column="13" selection-start="2041" selection-end="2041" vertical-scroll-proportion="0.4678899">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</first-group>
|
||||
<second-group />
|
||||
</component>
|
||||
|
@ -204,21 +209,16 @@
|
|||
<component name="J2EEProjectPane" />
|
||||
<component name="NamedScopeManager" />
|
||||
<component name="PackagesPane">
|
||||
<expanded_node url="net.thauvin.erik" module="mobibot" type="package" />
|
||||
<expanded_node url="" module="mobibot" type="module" />
|
||||
<expanded_node url="net.thauvin" module="mobibot" type="package" />
|
||||
<expanded_node url="net" module="mobibot" type="package" />
|
||||
<expanded_node url="net.thauvin.erik.mobibot" module="mobibot" type="package" />
|
||||
<expanded_node url="net.thauvin" module="mobibot" type="package" />
|
||||
<expanded_node url="net.thauvin.erik" module="mobibot" type="package" />
|
||||
<expanded_node url="net" module="mobibot" type="package" />
|
||||
<expanded_node url="" module="mobibot" type="module" />
|
||||
</component>
|
||||
<component name="ProjectPane">
|
||||
<expanded_node url="file://$PROJECT_DIR$/src/net/thauvin/erik" module="mobibot" type="directory" />
|
||||
<expanded_node url="file://$PROJECT_DIR$" module="mobibot" type="directory" />
|
||||
<expanded_node url="file://$PROJECT_DIR$/src" module="mobibot" type="directory" />
|
||||
<expanded_node url="file://$PROJECT_DIR$/src/net" module="mobibot" type="directory" />
|
||||
<expanded_node url="file://$PROJECT_DIR$/website" module="mobibot" type="directory" />
|
||||
<expanded_node url="" module="mobibot" type="module" />
|
||||
<expanded_node url="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot" module="mobibot" type="directory" />
|
||||
<expanded_node url="file://$PROJECT_DIR$/lib" module="mobibot" type="directory" />
|
||||
<expanded_node url="file://$PROJECT_DIR$/src/net/thauvin" module="mobibot" type="directory" />
|
||||
</component>
|
||||
<component name="ProjectView">
|
||||
<navigator currentView="ProjectPane" splitterProportion="0.5">
|
||||
|
@ -234,12 +234,40 @@
|
|||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="MemberChooser.copyJavadoc" value="false" />
|
||||
<property name="GoToClass.includeLibraries" value="false" />
|
||||
<property name="MemberChooser.showClasses" value="true" />
|
||||
<property name="MemberChooser.sorted" value="false" />
|
||||
<property name="cvs_file_history_treeWidth0" value="135" />
|
||||
<property name="cvs_file_history_treeOrder4" value="4" />
|
||||
<property name="cvs_file_history_flatWidth2" value="135" />
|
||||
<property name="cvs_file_history_flatOrder4" value="4" />
|
||||
<property name="cvs_file_history_treeOrder1" value="1" />
|
||||
<property name="GoToFile.includeJavaFiles" value="false" />
|
||||
<property name="last_opened_file_path" value="C:\Documents and Settings\erik\My Documents\My Received Files\src\MathEvaluator" />
|
||||
<property name="cvs_file_history_flatOrder1" value="1" />
|
||||
<property name="cvs_file_history_flatWidth1" value="135" />
|
||||
<property name="cvs_file_history_treeWidth1" value="135" />
|
||||
<property name="cvs_file_history_treeOrder6" value="6" />
|
||||
<property name="GoToClass.includeLibraries" value="false" />
|
||||
<property name="cvs_file_history_flatOrder2" value="2" />
|
||||
<property name="MemberChooser.showClasses" value="true" />
|
||||
<property name="cvs_file_history_flatWidth4" value="135" />
|
||||
<property name="cvs_file_history_treeWidth2" value="135" />
|
||||
<property name="GoToClass.toSaveIncludeLibraries" value="false" />
|
||||
<property name="cvs_file_history_flatOrder3" value="3" />
|
||||
<property name="cvs_file_history_treeOrder5" value="5" />
|
||||
<property name="MemberChooser.sorted" value="false" />
|
||||
<property name="cvs_file_history_flatWidth6" value="135" />
|
||||
<property name="cvs_file_history_flatOrder0" value="0" />
|
||||
<property name="cvs_file_history_treeWidth4" value="135" />
|
||||
<property name="cvs_file_history_treeOrder3" value="3" />
|
||||
<property name="cvs_file_history_treeWidth6" value="135" />
|
||||
<property name="last_opened_file_path" value="C:\Documents and Settings\erik\My Documents\My Received Files\src\MathEvaluator" />
|
||||
<property name="cvs_file_history_flatOrder5" value="5" />
|
||||
<property name="cvs_file_history_flatWidth5" value="136" />
|
||||
<property name="cvs_file_history_treeWidth3" value="136" />
|
||||
<property name="cvs_file_history_treeOrder2" value="2" />
|
||||
<property name="cvs_file_history_treeWidth5" value="136" />
|
||||
<property name="cvs_file_history_flatOrder6" value="6" />
|
||||
<property name="cvs_file_history_flatWidth0" value="135" />
|
||||
<property name="cvs_file_history_flatWidth3" value="136" />
|
||||
<property name="cvs_file_history_treeOrder0" value="0" />
|
||||
</component>
|
||||
<component name="RunManager">
|
||||
<activeType name="Application" />
|
||||
|
@ -257,6 +285,13 @@
|
|||
<value defaultName="wholeProject" />
|
||||
</option>
|
||||
</configuration>
|
||||
<configuration selected="false" default="true" type="Remote" factoryName="Remote">
|
||||
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||||
<option name="SERVER_MODE" value="false" />
|
||||
<option name="SHMEM_ADDRESS" value="javadebug" />
|
||||
<option name="HOST" value="localhost" />
|
||||
<option name="PORT" value="5005" />
|
||||
</configuration>
|
||||
<configuration selected="false" default="true" type="Application" factoryName="Application">
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
|
@ -264,6 +299,16 @@
|
|||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||
<module name="" />
|
||||
</configuration>
|
||||
<configuration selected="false" default="true" type="Applet" factoryName="Applet">
|
||||
<module name="" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="HTML_FILE_NAME" />
|
||||
<option name="HTML_USED" value="false" />
|
||||
<option name="WIDTH" value="400" />
|
||||
<option name="HEIGHT" value="300" />
|
||||
<option name="POLICY_FILE" value="C:/IntelliJ-IDEA/bin/appletviewer.policy" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
</configuration>
|
||||
<configuration selected="false" default="true" type="WebLogic Instance" factoryName="Local">
|
||||
<option name="WORKING_DIRECTORY" />
|
||||
<option name="HOST" value="localhost" />
|
||||
|
@ -278,29 +323,23 @@
|
|||
<option name="SERVER_NAME" value="myserver" />
|
||||
<option name="DOMAIN_NAME" value="mydomain" />
|
||||
</configuration>
|
||||
<configuration selected="false" default="true" type="Applet" factoryName="Applet">
|
||||
<module name="" />
|
||||
<option name="MAIN_CLASS_NAME" />
|
||||
<option name="HTML_FILE_NAME" />
|
||||
<option name="HTML_USED" value="false" />
|
||||
<option name="WIDTH" value="400" />
|
||||
<option name="HEIGHT" value="300" />
|
||||
<option name="POLICY_FILE" value="C:/IntelliJ-IDEA/bin/appletviewer.policy" />
|
||||
<option name="VM_PARAMETERS" />
|
||||
</configuration>
|
||||
<configuration selected="false" default="true" type="Remote" factoryName="Remote">
|
||||
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||||
<option name="SERVER_MODE" value="false" />
|
||||
<option name="SHMEM_ADDRESS" value="javadebug" />
|
||||
<option name="HOST" value="localhost" />
|
||||
<option name="PORT" value="5005" />
|
||||
</configuration>
|
||||
<configuration selected="true" default="false" name="Mobibot" type="Application" factoryName="Application">
|
||||
<option name="MAIN_CLASS_NAME" value="net.thauvin.erik.mobibot.Mobibot" />
|
||||
<option name="VM_PARAMETERS" value="" />
|
||||
<option name="PROGRAM_PARAMETERS" value="-d -s mobibot2.ser" />
|
||||
<option name="WORKING_DIRECTORY" value="D:\projects\java\mobibot" />
|
||||
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
|
||||
<module name="mobibot" />
|
||||
<RunnerSettings RunnerId="Run" />
|
||||
<ConfigurationWrapper RunnerId="Run" />
|
||||
</configuration>
|
||||
<configuration selected="false" default="false" name="Unnamed" type="Application" factoryName="Application">
|
||||
<option name="MAIN_CLASS_NAME" value="net.thauvin.erik.mobibot.FeedTestReader" />
|
||||
<option name="VM_PARAMETERS" value="" />
|
||||
<option name="PROGRAM_PARAMETERS" value="http://www.thauvin.net/linkblog/xml.jsp" />
|
||||
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
|
||||
<module name="mobibot" />
|
||||
<RunnerSettings RunnerId="Run" />
|
||||
<ConfigurationWrapper RunnerId="Run" />
|
||||
</configuration>
|
||||
</component>
|
||||
<component name="SelectInManager">
|
||||
|
@ -358,17 +397,17 @@
|
|||
<frame x="-4" y="-4" width="1032" height="776" extended-state="0" />
|
||||
<editor active="false" />
|
||||
<layout>
|
||||
<window_info id="Properties File Structure" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="5" />
|
||||
<window_info id="Properties File Structure" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.32959184" order="5" />
|
||||
<window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33024693" order="8" />
|
||||
<window_info id="Regex" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.44135803" order="10" x="22" y="277" width="980" height="214" />
|
||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33024693" order="7" />
|
||||
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="true" weight="0.35" order="0" />
|
||||
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="true" weight="0.30306122" order="0" />
|
||||
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33024693" order="1" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.20816326" order="1" />
|
||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.27959183" order="1" />
|
||||
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33024693" order="9" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.39969134" order="6" />
|
||||
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="-1" />
|
||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="true" weight="0.08877551" order="1" />
|
||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="true" internal_type="docked" type="docked" visible="false" weight="0.39969134" order="6" />
|
||||
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="8" />
|
||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.1367347" order="1" />
|
||||
<window_info id="Run" active="false" anchor="bottom" auto_hide="true" internal_type="docked" type="docked" visible="false" weight="0.39660493" order="2" x="22" y="277" width="980" height="213" />
|
||||
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.25" order="2" />
|
||||
<window_info id="CVS File View" active="false" anchor="right" auto_hide="false" internal_type="docked" type="docked" visible="false" weight="0.33" order="3" />
|
||||
|
@ -458,87 +497,80 @@
|
|||
</buildFile>
|
||||
</component>
|
||||
<component name="editorHistoryManager">
|
||||
<entry file="file://$PROJECT_DIR$/build.properties">
|
||||
<entry file="file://$PROJECT_DIR$/README.txt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/README.txt">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="18" column="28" selection-start="236" selection-end="236" vertical-scroll-proportion="0.5049505">
|
||||
<folding />
|
||||
<entry file="file://$PROJECT_DIR$/log4j.properties">
|
||||
<provider selected="true" editor-type-id="properties">
|
||||
<state line="17" column="45" selection-start="791" selection-end="791" vertical-scroll-offset="0" key-parts-delimiter="'.'">
|
||||
<NAVIGATION_TREE>
|
||||
<expanded path="log4j.category.net.thauvin" />
|
||||
<expanded path="log4j.category" />
|
||||
<expanded path="log4j" />
|
||||
<expanded path="log4j.category.net" />
|
||||
<expanded path="log4j.category.net.thauvin.erik" />
|
||||
<expanded path="" />
|
||||
</NAVIGATION_TREE>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="jar://$PROJECT_DIR$/lib/pircbot.jar!/org/jibble/pircbot/PircBot.class">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="353" column="18" selection-start="10733" selection-end="10733" vertical-scroll-proportion="0.33274648">
|
||||
<folding />
|
||||
<entry file="file://$PROJECT_DIR$/mobibot.properties">
|
||||
<provider selected="true" editor-type-id="properties">
|
||||
<state line="6" column="32" selection-start="169" selection-end="169" vertical-scroll-offset="0" key-parts-delimiter="'.'">
|
||||
<NAVIGATION_TREE>
|
||||
<expanded path="" />
|
||||
</NAVIGATION_TREE>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/Mobibot.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="63" column="65" selection-start="2257" selection-end="2257" vertical-scroll-proportion="0.8733945">
|
||||
<state line="2470" column="12" selection-start="58492" selection-end="58492" vertical-scroll-proportion="0.2146789">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/build.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="26" column="4" selection-start="884" selection-end="884" vertical-scroll-proportion="0.81100917">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/StockQuote.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="53" column="13" selection-start="2037" selection-end="2037" vertical-scroll-proportion="0.5614679">
|
||||
<state line="45" column="20" selection-start="1866" selection-end="1866" vertical-scroll-proportion="0.3119266">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/CurrencyConverter.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="151" column="87" selection-start="4160" selection-end="4231" vertical-scroll-proportion="1.0899082">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/Weather.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="173" column="12" selection-start="4757" selection-end="4757" vertical-scroll-proportion="1.0899082">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/GoogleSearch.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="157" column="108" selection-start="4458" selection-end="4458" vertical-scroll-proportion="1.0623853">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/FeedReader.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="151" column="53" selection-start="4082" selection-end="4082" vertical-scroll-proportion="1.0477064">
|
||||
<state line="101" column="51" selection-start="2966" selection-end="2966" vertical-scroll-proportion="0.8587156">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/EntryLink.java">
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/ReleaseInfo.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="55" column="13" selection-start="2034" selection-end="2034" vertical-scroll-proportion="0.6238532">
|
||||
<state line="11" column="13" selection-start="309" selection-end="309" vertical-scroll-proportion="0.033928573">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/Weather.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="100" column="0" selection-start="3001" selection-end="3001" vertical-scroll-proportion="1.0899082">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/CurrencyConverter.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="180" column="0" selection-start="5069" selection-end="5069" vertical-scroll-proportion="1.0899082">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
|
@ -547,13 +579,48 @@
|
|||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/EntryComment.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="53" column="13" selection-start="2016" selection-end="2016" vertical-scroll-proportion="0.5614679">
|
||||
<state line="63" column="113" selection-start="2248" selection-end="2248" vertical-scroll-proportion="0.07339449">
|
||||
<folding>
|
||||
<element signature="imports" expanded="true" />
|
||||
</folding>
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/EntryLink.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="97" column="34" selection-start="2962" selection-end="2962" vertical-scroll-proportion="0.06788991">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/src/net/thauvin/erik/mobibot/GoogleSearch.java">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="54" column="13" selection-start="2041" selection-end="2041" vertical-scroll-proportion="0.4678899">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/build.xml">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="23" column="205" selection-start="924" selection-end="924" vertical-scroll-proportion="0.6883803">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/.cvsignore">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="5" column="18" selection-start="74" selection-end="74" vertical-scroll-proportion="0.15178572">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/website/index.html">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state line="23" column="49" selection-start="1614" selection-end="1614" vertical-scroll-proportion="0.7174312">
|
||||
<folding />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</component>
|
||||
<component name="ideajad">
|
||||
<property name="annotate" value="false" />
|
||||
|
|
|
@ -66,7 +66,7 @@ public class CurrencyConverter implements Runnable
|
|||
/**
|
||||
* The exchange rates table URL.
|
||||
*/
|
||||
public static final String EXCHANGE_TABLE_URL = "http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml";
|
||||
private static final String EXCHANGE_TABLE_URL = "http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml";
|
||||
|
||||
/**
|
||||
* The exchange rates.
|
||||
|
@ -119,7 +119,7 @@ public class CurrencyConverter implements Runnable
|
|||
}
|
||||
|
||||
// Converts specified currencies.
|
||||
public void run()
|
||||
public final void run()
|
||||
{
|
||||
if (EXCHANGE_RATES.isEmpty())
|
||||
{
|
||||
|
@ -150,12 +150,12 @@ public class CurrencyConverter implements Runnable
|
|||
catch (JDOMException e)
|
||||
{
|
||||
_bot.getLogger().debug("Unable to parse the exchange rates table.", e);
|
||||
_bot.sendNotice(_sender, "An error has occurred while parsing the exchange rates table.");
|
||||
_bot.send(_sender, "An error has occurred while parsing the exchange rates table.");
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
_bot.getLogger().debug("Unable to fetch the exchange rates table.", e);
|
||||
_bot.sendNotice(_sender,
|
||||
_bot.send(_sender,
|
||||
"An error has occurred while fetching the exchange rates table: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ public class CurrencyConverter implements Runnable
|
|||
{
|
||||
if (cmds[3].equals(cmds[1]))
|
||||
{
|
||||
_bot.sendNotice(_sender, "You're kidding, right?");
|
||||
_bot.send(_sender, "You're kidding, right?");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -180,7 +180,7 @@ public class CurrencyConverter implements Runnable
|
|||
final double from = Double.parseDouble((String) EXCHANGE_RATES.get(cmds[1].toUpperCase()));
|
||||
final double to = Double.parseDouble((String) EXCHANGE_RATES.get(cmds[3].toUpperCase()));
|
||||
|
||||
_bot.sendNotice(_bot.getChannel(),
|
||||
_bot.send(_bot.getChannel(),
|
||||
NumberFormat.getCurrencyInstance(Locale.US).format(amt).substring(1) + ' ' +
|
||||
cmds[1].toUpperCase() + " = " +
|
||||
NumberFormat.getCurrencyInstance(Locale.US).format((amt * to) / from)
|
||||
|
@ -188,7 +188,7 @@ public class CurrencyConverter implements Runnable
|
|||
}
|
||||
catch (NullPointerException e)
|
||||
{
|
||||
_bot.sendNotice(_sender,
|
||||
_bot.send(_sender,
|
||||
"The supported currencies are: " + EXCHANGE_RATES.keySet().toString());
|
||||
}
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ public class CurrencyConverter implements Runnable
|
|||
}
|
||||
else if (_query.equals(RATES_KEYWORD))
|
||||
{
|
||||
_bot.sendNotice(_sender, "Last Update: " + s_date);
|
||||
_bot.send(_sender, "Last Update: " + s_date);
|
||||
|
||||
final Iterator it = EXCHANGE_RATES.keySet().iterator();
|
||||
String rate;
|
||||
|
@ -213,19 +213,19 @@ public class CurrencyConverter implements Runnable
|
|||
buff.append(rate).append(": ").append(EXCHANGE_RATES.get(rate));
|
||||
}
|
||||
|
||||
_bot.sendNotice(_sender, buff.toString());
|
||||
_bot.send(_sender, buff.toString());
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
_bot.helpResponse(_sender, Mobibot.CURRENCY_CMD + ' ' + _query);
|
||||
_bot.sendNotice(_sender, "The supported currencies are: " + EXCHANGE_RATES.keySet().toString());
|
||||
_bot.send(_sender, "The supported currencies are: " + EXCHANGE_RATES.keySet().toString());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_bot.getLogger().debug("The exchange rate table is empty.");
|
||||
_bot.sendNotice(_sender, "Sorry, but the exchange rate table is empty.");
|
||||
_bot.send(_sender, "Sorry, but the exchange rate table is empty.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ public class EntryLink implements Serializable
|
|||
/**
|
||||
* The creation date.
|
||||
*/
|
||||
private final Date _date = Calendar.getInstance().getTime();
|
||||
private Date _date = Calendar.getInstance().getTime();
|
||||
|
||||
/**
|
||||
* The comments.
|
||||
|
@ -74,6 +74,7 @@ public class EntryLink implements Serializable
|
|||
private String _nick = "";
|
||||
private String _title = "No Title";
|
||||
|
||||
|
||||
/**
|
||||
* Creates a new entry.
|
||||
*
|
||||
|
@ -88,6 +89,22 @@ public class EntryLink implements Serializable
|
|||
_login = login;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new entry.
|
||||
*
|
||||
* @param link The new entry's link.
|
||||
* @param title The new entry's title.
|
||||
* @param nick The nickname of the author of the link.
|
||||
* @param date The entry date.
|
||||
*/
|
||||
public EntryLink(String link, String title, String nick, Date date)
|
||||
{
|
||||
_link = link;
|
||||
_title = title;
|
||||
_nick = nick;
|
||||
_date = date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new entry.
|
||||
*
|
||||
|
|
|
@ -36,20 +36,15 @@
|
|||
*/
|
||||
package net.thauvin.erik.mobibot;
|
||||
|
||||
import org.crazybob.rss.Channel;
|
||||
import org.crazybob.rss.Item;
|
||||
import org.crazybob.rss.Parser;
|
||||
import org.crazybob.rss.UrlLoader;
|
||||
import org.crazybob.rss.UrlLoader.Response;
|
||||
import com.sun.syndication.feed.synd.SyndEntry;
|
||||
import com.sun.syndication.feed.synd.SyndEntryImpl;
|
||||
import com.sun.syndication.feed.synd.SyndFeed;
|
||||
import com.sun.syndication.fetcher.FeedFetcher;
|
||||
import com.sun.syndication.fetcher.impl.HttpURLFeedFetcher;
|
||||
|
||||
import org.jdom.JDOMException;
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
|
||||
import org.jdom.input.SAXBuilder;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.StringReader;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
|
@ -106,58 +101,32 @@ public class FeedReader implements Runnable
|
|||
/**
|
||||
* Fetches the Feed's items.
|
||||
*/
|
||||
public void run()
|
||||
public final void run()
|
||||
{
|
||||
List items = null;
|
||||
final FeedFetcher fetcher = new HttpURLFeedFetcher(_bot.getFeedInfoCache());
|
||||
|
||||
try
|
||||
{
|
||||
final Response response = new UrlLoader().load(_url, _bot.getFeedLastMod());
|
||||
final SyndFeed feed = fetcher.retrieveFeed(new URL(_url));
|
||||
SyndEntry item;
|
||||
final List items = feed.getEntries();
|
||||
|
||||
if (response != null)
|
||||
for (int i = 0; (i < items.size()) && (i < MAX_ITEMS); i++)
|
||||
{
|
||||
_bot.setFeedLastMod(response.getLastModified());
|
||||
|
||||
final Channel chan = new Parser().parse(new SAXBuilder().build(new StringReader(response.getBody())));
|
||||
items = chan.getItems();
|
||||
_bot.setFeedItems(items);
|
||||
item = (SyndEntryImpl) items.get(i);
|
||||
_bot.send(_sender, item.getTitle());
|
||||
_bot.send(_sender, TAB_INDENT + item.getLink());
|
||||
}
|
||||
}
|
||||
catch (JDOMException e)
|
||||
catch (MalformedURLException e)
|
||||
{
|
||||
_bot.getLogger().debug("Unable to parse the feed.", e);
|
||||
_bot.sendNotice(_sender, "An error has occurred while parsing the feed.");
|
||||
_bot.getLogger().debug("Invalid feed URL.", e);
|
||||
_bot.send(_sender, "The feed URL is invalid.");
|
||||
}
|
||||
catch (IOException e)
|
||||
catch (Exception e)
|
||||
{
|
||||
_bot.getLogger().debug("Unable to fetch the feed.", e);
|
||||
_bot.sendNotice(_sender, "An error has occurred while fetching the feed: " + e.getMessage());
|
||||
}
|
||||
|
||||
if (items == null)
|
||||
{
|
||||
items = _bot.getFeedItems();
|
||||
}
|
||||
|
||||
if ((items != null) && (!items.isEmpty()))
|
||||
{
|
||||
Item item;
|
||||
int i = 0;
|
||||
final Iterator it = items.iterator();
|
||||
|
||||
while (it.hasNext() && (i < MAX_ITEMS))
|
||||
{
|
||||
item = (Item) it.next();
|
||||
_bot.sendNotice(_sender, item.getTitle());
|
||||
_bot.sendNotice(_sender, TAB_INDENT + item.getLink());
|
||||
|
||||
i++;
|
||||
}
|
||||
|
||||
if (_bot.getFeedLastMod().length() > 0)
|
||||
{
|
||||
_bot.sendNotice(_sender, "Last Updated: " + _bot.getFeedLastMod());
|
||||
}
|
||||
_bot.send(_sender, "An error has occurred while fetching the feed: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -115,7 +115,7 @@ public class GoogleSearch implements Runnable
|
|||
/**
|
||||
* Main processing method.
|
||||
*/
|
||||
public void run()
|
||||
public final void run()
|
||||
{
|
||||
GOOGLE_BEAN.setKey(_key);
|
||||
|
||||
|
@ -127,17 +127,17 @@ public class GoogleSearch implements Runnable
|
|||
|
||||
if (Mobibot.isValidString(r))
|
||||
{
|
||||
_bot.sendNotice(_sender, Mobibot.unescapeXml(r));
|
||||
_bot.send(_sender, Mobibot.unescapeXml(r));
|
||||
}
|
||||
else
|
||||
{
|
||||
_bot.sendNotice(_sender, "You've just won our spelling bee contest.");
|
||||
_bot.send(_sender, "You've just won our spelling bee contest.");
|
||||
}
|
||||
}
|
||||
catch (GoogleSearchFault e)
|
||||
{
|
||||
_bot.getLogger().warn("Unable to spell: " + _query, e);
|
||||
_bot.sendNotice(_sender, "An error has occurred: " + e.getMessage());
|
||||
_bot.send(_sender, "An error has occurred: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -152,17 +152,17 @@ public class GoogleSearch implements Runnable
|
|||
{
|
||||
for (int i = 0; i < GOOGLE_BEAN.getResultElementsCount(); i++)
|
||||
{
|
||||
_bot.sendNotice(_sender,
|
||||
_bot.send(_sender,
|
||||
Mobibot.unescapeXml(GOOGLE_BEAN.getResultElementProperty(i, "title").replaceAll("<([bB]|/[bB])>",
|
||||
Colors.BOLD)));
|
||||
_bot.sendNotice(_sender, TAB_INDENT + GOOGLE_BEAN.getResultElementProperty(i, "url"));
|
||||
_bot.send(_sender, TAB_INDENT + GOOGLE_BEAN.getResultElementProperty(i, "url"));
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (GoogleSearchFault e)
|
||||
{
|
||||
_bot.getLogger().warn("Unable to search in Google for: " + _query, e);
|
||||
_bot.sendNotice(_sender, "An error has occurred: " + e.getMessage());
|
||||
_bot.send(_sender, "An error has occurred: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
51
src/net/thauvin/erik/mobibot/ReleaseInfo.java
Normal file
51
src/net/thauvin/erik/mobibot/ReleaseInfo.java
Normal file
|
@ -0,0 +1,51 @@
|
|||
/* Created by JReleaseInfo AntTask from Open Source Competence Group */
|
||||
/* Creation date Thu Sep 23 13:38:29 PDT 2004 */
|
||||
package net.thauvin.erik.mobibot;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* This class provides information gathered from the build environment.
|
||||
*
|
||||
* @author JReleaseInfo AntTask
|
||||
*/
|
||||
public class ReleaseInfo {
|
||||
|
||||
|
||||
/** buildDate (set during build process to 1095971909156L). */
|
||||
private static Date buildDate = new Date(1095971909156L);
|
||||
|
||||
/**
|
||||
* Get buildDate (set during build process to Thu Sep 23 13:38:29 PDT 2004).
|
||||
* @return Date buildDate
|
||||
*/
|
||||
public static final Date getBuildDate() { return buildDate; }
|
||||
|
||||
|
||||
/**
|
||||
* Get buildNumber (set during build process to 1).
|
||||
* @return int buildNumber
|
||||
*/
|
||||
public static final int getBuildNumber() { return 1; }
|
||||
|
||||
|
||||
/** version (set during build process to "0.2"). */
|
||||
private static String version = new String("0.2");
|
||||
|
||||
/**
|
||||
* Get version (set during build process to "0.2").
|
||||
* @return String version
|
||||
*/
|
||||
public static final String getVersion() { return version; }
|
||||
|
||||
|
||||
/** project (set during build process to "mobibot"). */
|
||||
private static String project = new String("mobibot");
|
||||
|
||||
/**
|
||||
* Get project (set during build process to "mobibot").
|
||||
* @return String project
|
||||
*/
|
||||
public static final String getProject() { return project; }
|
||||
|
||||
}
|
|
@ -90,7 +90,7 @@ public class StockQuote implements Runnable
|
|||
/**
|
||||
* Returns the specified stock quote.
|
||||
*/
|
||||
public void run()
|
||||
public final void run()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@ -107,54 +107,54 @@ public class StockQuote implements Runnable
|
|||
{
|
||||
if ((quote.length > 3) && (!"\"N/A\"".equalsIgnoreCase(quote[3])))
|
||||
{
|
||||
_bot.sendNotice(_bot.getChannel(),
|
||||
_bot.send(_bot.getChannel(),
|
||||
"Symbol: " + quote[0].replaceAll("\"", "") + " [" + quote[1].replaceAll("\"", "") +
|
||||
']');
|
||||
|
||||
if (quote.length > 5)
|
||||
{
|
||||
_bot.sendNotice(_bot.getChannel(), "Last Trade: " + quote[2] + " (" + quote[5] + ')');
|
||||
_bot.send(_bot.getChannel(), "Last Trade: " + quote[2] + " (" + quote[5] + ')');
|
||||
}
|
||||
else
|
||||
{
|
||||
_bot.sendNotice(_bot.getChannel(), "Last Trade: " + quote[2]);
|
||||
_bot.send(_bot.getChannel(), "Last Trade: " + quote[2]);
|
||||
}
|
||||
|
||||
if (quote.length > 4)
|
||||
{
|
||||
_bot.sendNotice(_sender,
|
||||
_bot.send(_sender,
|
||||
"Time: " + quote[3].replaceAll("\"", "") + ' ' + quote[4].replaceAll("\"", ""));
|
||||
}
|
||||
|
||||
if (quote.length > 6)
|
||||
{
|
||||
_bot.sendNotice(_sender, "Open: " + quote[6]);
|
||||
_bot.send(_sender, "Open: " + quote[6]);
|
||||
}
|
||||
|
||||
if (quote.length > 7)
|
||||
{
|
||||
_bot.sendNotice(_sender, "Day's Range: " + quote[7] + " - " + quote[8]);
|
||||
_bot.send(_sender, "Day's Range: " + quote[7] + " - " + quote[8]);
|
||||
}
|
||||
|
||||
if (quote.length > 9)
|
||||
{
|
||||
_bot.sendNotice(_sender, "Volume: " + quote[9]);
|
||||
_bot.send(_sender, "Volume: " + quote[9]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_bot.sendNotice(_sender, "Invalid ticker symbol.");
|
||||
_bot.send(_sender, "Invalid ticker symbol.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_bot.sendNotice(_sender, "No data returned.");
|
||||
_bot.send(_sender, "No data returned.");
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
_bot.getLogger().debug("Unable to retrieve stock quote for: " + _symbol, e);
|
||||
_bot.sendNotice(_sender, "An error has occurred: " + e.getMessage());
|
||||
_bot.send(_sender, "An error has occurred: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ public class Weather implements Runnable
|
|||
/**
|
||||
* Main processing method.
|
||||
*/
|
||||
public void run()
|
||||
public final void run()
|
||||
{
|
||||
if (_station.length() == 4)
|
||||
{
|
||||
|
|
|
@ -17,12 +17,11 @@
|
|||
<li><a href="http://jakarta.apache.org/commons/cli/">Commons CLI</a></li>
|
||||
<li><a href="http://jakarta.apache.org/commons/httpclient/">Commons HTTPClient</a></li>
|
||||
<li><a href="http://jakarta.apache.org/commons/logging/">Commons Logging</a></li>
|
||||
<li><a href="http://jakarta.apache.org/commons/net/">Commons Net</a></li>
|
||||
<li><a href="https://fetchrss.dev.java.net/">fetchrss</a></li>
|
||||
<li><a href="http://jakarta.apache.org/commons/net/">Commons Net</a></li>
|
||||
<li><a href="http://google-taglib.sourceforge.net">Google Tag Library</a></li>
|
||||
<li><a href="http://sourceforge.net/projects/jweather/">JWeather</a></li>
|
||||
<li><a href="http://lts.online.fr/dev/java/math.evaluator/">MathEvaluator</a></li>
|
||||
<li><a href="http://enigmastation.com/rsslibj/">RSSLibJ</a></li>
|
||||
<li><a href="http://lts.online.fr/dev/java/math.evaluator/">MathEvaluator</a></li>
|
||||
<li><a href="https://rome.dev.java.net/">Rome</a></li>
|
||||
</ul>
|
||||
<p>mobibot was written by <a href="http://www.thauvin.net/erik/"><strong>Erik C. Thauvin</strong></a> as a replacement for the channel's original <a href="http://usefulinc.com/chump/">ChumpBot</a>. </p>
|
||||
<h3>Features</h3>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue