edu.iastate.jtm.assistant
Class GoogleScholar
java.lang.Object
edu.iastate.jtm.assistant.GoogleScholar
public class GoogleScholar
- extends java.lang.Object
- Author:
- Jing Ding
edu.iastate.jtm.browser
jtm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL_WORDS
public static final int ALL_WORDS
- See Also:
- Constant Field Values
EXACT_PHRASE
public static final int EXACT_PHRASE
- See Also:
- Constant Field Values
AT_LEAST_ONE
public static final int AT_LEAST_ONE
- See Also:
- Constant Field Values
WITHOUT
public static final int WITHOUT
- See Also:
- Constant Field Values
AUTHOR
public static final int AUTHOR
- See Also:
- Constant Field Values
PUBLICATION
public static final int PUBLICATION
- See Also:
- Constant Field Values
YEAR_FROM
public static final int YEAR_FROM
- See Also:
- Constant Field Values
YEAR_TO
public static final int YEAR_TO
- See Also:
- Constant Field Values
GoogleScholar
public GoogleScholar(java.lang.String email)
setAttribute
public void setAttribute(int key,
java.lang.String val)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
verbose
public void verbose(boolean v)
resetAttributes
public void resetAttributes()
getFullUrl
public java.lang.String getFullUrl()
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
getShortUrl
public java.lang.String getShortUrl()
advancedUrl
public static java.lang.String advancedUrl(java.lang.String title,
java.lang.String author)
quickUrl
public static java.lang.String quickUrl(java.lang.String term)
sendQuery
public void sendQuery(java.lang.String query)
throws java.io.IOException
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException