text stringlengths 3 1.18M |
|---|
package com.sohospace.dictionary.number;
/**
* @deprecated
* @author zhiliang.wang@yahoo.com.cn
*
*/
public class Number {
public String value;
public int begin;
public int end;
public Number(String value, int begin, int end) {
super();
this.value = value;
this.begin = begin;
this.end = end;
}
pu... |
package com.sohospace.dictionary.number;
/**
* @deprecated
* @author zhiliang.wang@yahoo.com.cn
*
*/
public interface NumberReader {
public Number read(char[] input, int begin);
}
|
package com.sohospace.dictionary.number;
import java.util.Arrays;
/**
* @deprecated
* @author zhiliang.wang@yahoo.com.cn
*
*/
public class SimpleNumberReader implements NumberReader {
public Number read(char[] input, int begin) {
int pointer = begin;
int count = 0;
char[] buffer = null;
for (char digit; ... |
/*
* 本代码所有权归作者所有 但在保持源代码不被破坏以及所有人署名的基础上 任何人可自由无限使用
*/
package com.sohospace.dictionary;
import java.util.HashMap;
import java.util.Map;
/**
* Dictionary的散列+二叉查找实现。
* <p>
* 用于对大数量的,且头字符相同的字符串较多的情况,e.g汉字词语字典。在这种情况下,检索速度将比二叉字典更快。
* <p>
*
* HashBinaryDictionary以一组已经排序的词语为输入,所有<b>头字符</b>相同的词语划为一个集合作... |
/*
* 本代码所有权归作者所有 但在保持源代码不被破坏以及所有人署名的基础上 任何人可自由无限使用
*/
package com.sohospace.dictionary;
/**
*
* @author zhiliang.wang@yahoo.com.cn
*
* @since 1.1
*/
public class DictionaryDelegate implements Dictionary {
private Dictionary target;
public DictionaryDelegate() {
}
public DictionaryDelegate(Dictionary targe... |
/*
* 本代码所有权归作者所有 但在保持源代码不被破坏以及所有人署名的基础上 任何人可自由无限使用
*/
package com.sohospace.dictionary.support.filewords;
/**
*
* @author zhiliang.wang@yahoo.com.cn
*
* @since 1.0
*
*/
public interface ReadListener {
public boolean onFileBegin(String file);
public void onFileEnd(String file);
public void onWord(String ... |
/*
* 本代码所有权归作者所有 但在保持源代码不被破坏以及所有人署名的基础上 任何人可自由无限使用
*/
package com.sohospace.dictionary.support.filewords;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.LinkedList;
import java... |
/*
* 本代码所有权归作者所有 但在保持源代码不被破坏以及所有人署名的基础上 任何人可自由无限使用
*/
package com.sohospace.dictionary.support.filewords;
import java.util.Hashtable;
import java.util.LinkedList;
import java.util.Map;
/**
*
* @author zhiliang.wang@yahoo.com.cn
*
* @since 1.0
*
*/
public class SimpleReadListener implements ReadListener {
... |
/*
* 本代码所有权归作者所有 但在保持源代码不被破坏以及所有人署名的基础上 任何人可自由无限使用
*/
package com.sohospace.dictionary.support.merging;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.ListIterator;
/**
*
* @author zhiliang.wang@yahoo.com.cn
*
* @since 1.0
*
*/
public class Merger {
public static void merge(Linked... |
/*
* 本代码所有权归作者所有 但在保持源代码不被破坏以及所有人署名的基础上 任何人可自由无限使用
*/
package com.sohospace.dictionary.support;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Set;
import com.sohospace.dictionary.support.filewords.FileWordsRead... |
/*
* 本代码所有权归作者所有 但在保持源代码不被破坏以及所有人署名的基础上 任何人可自由无限使用
*/
package com.sohospace.dictionary;
/**
* Dictionary是一个只读字典,用于查找是否包含某个词语,以及相关信息。
* <p>
*
* @author zhiliang.wang@yahoo.com.cn
*
* @see BinaryDictionary
* @see HashBinaryDictionary
*
* @since 1.0
*
*/
public interface Dictionary {
/**
* 返回字典中词语数>=... |
package com.wyvoid.core.persistent.hibernate;
import com.wyvoid.core.util.ResolverUtil;
import org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean;
import javax.persistence.Entity;
import java.util.Set;
/**
* 在用hibernate annotation 做orm时,spring AnnotationSessionFactoryBean没有提供方便的装载一个... |
package com.wyvoid.core.persistent.hibernate;
/**
* User: cjp
* Date: 2006-5-2
* Time: 20:44:36
*/
import org.hibernate.criterion.Criterion;
import java.io.Serializable;
import java.util.List;
import com.wyvoid.core.persistent.Pagination;
public interface IHibernateDAO<T> {
public T get... |
package com.wyvoid.core.persistent.hibernate;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.Criteria;
import org.hibernate.HibernateException;
import org.hibernate.Session;
import org.hibernate.Query;
import org.hibernate.criterion.Criterion;
import ... |
package com.wyvoid.core.persistent.hibernate;
import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;
import org.springframework.util.Assert;
import java.io.Serializable;
import java.util.List;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
impo... |
package com.wyvoid.core.persistent;
/**
* 分页的查询条件
* User: cjp
* Date: 2006-9-17
* Time: 20:16:40
*/
public class Pagination {
private int pageNumber =1;
private int totalRows;
private int pageSize=20;
public int getPageNumber() {
return pageNumber;
}
public v... |
/*
* Copyright (c) 2003-2006, Simon Brown
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this ... |
/* Copyright 2005-2006 Tim Fennell
*
* 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 ... |
/*
* Copyright 2004 Clinton Begin
*
* 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 ... |
package com.wyvoid.core.util;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.awt.Color;
import java.util.Random;
import javax.servlet.http.HttpSession;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.awt.Graphics;
import... |
/**
* <p>Title: </p>
* <p>Description: 签名所需MD5加密JAVA库</p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: 上海快钱信息服务有限公司</p>
* @author Stephen.Ye
* @version 1.0
*/
package com.wyvoid.core.util;
import java.lang.reflect.Array;
public class MD5
{
public String getMD5ofStr(String s)
... |
package com.wyvoid.core.util;
import javax.crypto.*;
import javax.crypto.spec.DESKeySpec;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.security.spec.InvalidKeySpecException;
/**
* User:cjp
* Date: 2006-3-13
* Tim... |
package com.wyvoid.core.mail;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;
import java.io.UnsupportedEncodingException;
import java.util.Properties;... |
package com.wyvoid.core.mail;
/**
* @author <a href="mailto:plightbo@gmail.com">Patrick Lightbody</a>
*/
public interface MailService {
void send(String to, String subject, String body) throws MailException;
}
|
package com.wyvoid.core.mail;
/**
* @author <a href="mailto:plightbo@gmail.com">Patrick Lightbody</a>
*/
public class MockMailService implements MailService {
public void send(String to, String subject, String body) throws MailException {
System.out.println("To: " + to);
System.out.printl... |
package com.wyvoid.core.mail;
/**
* @author <a href="mailto:plightbo@gmail.com">Patrick Lightbody</a>
*/
public class MailException extends Exception {
/**
*
*/
private static final long serialVersionUID = 7311533324383015591L;
public MailException(String string) {
super(s... |
package com.wyvoid.core.mvc.stripes;
import net.sourceforge.stripes.controller.NameBasedActionResolver;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-14
* Time: 21:16:29
*/
public class AbleNameBasedActionResolver extends NameBasedActionResolver {
protected String getUrlBinding(String string) ... |
package com.wyvoid.core.mvc.stripes.validation;
import net.sourceforge.stripes.validation.ScopedLocalizableError;
import net.sourceforge.stripes.validation.TypeConverter;
import net.sourceforge.stripes.validation.ValidationError;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.... |
package com.wyvoid.core.mvc.stripes.interceptor;
import net.sourceforge.stripes.action.Resolution;
import net.sourceforge.stripes.controller.ExecutionContext;
import net.sourceforge.stripes.controller.Interceptor;
import net.sourceforge.stripes.controller.Intercepts;
import net.sourceforge.stripes.controller.Lif... |
package com.wyvoid.core.servlet;
import com.wyvoid.core.util.ValidateCodeCreator;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;
import java.io.IOException;
/**
* <p>51void.com</p>
... |
package com.wyvoid.core.tag;
import java.util.Date;
public class TGCalendarEvent {
private Date start = new Date();
private Date end = null;
private String title;
private String icon;
private String link;
public Date getStart() {
return start;
}
public void setSt... |
package com.wyvoid.core.tag;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
import java.io.IOException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.List;
import ja... |
package com.wyvoid.core.tag;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.PageContext;
import javax.servlet.jsp.tagext.TagSupport;
import java.lang.reflect.Field;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.Modifier;
import java.util.Map;
import java.util.HashMap;
... |
package com.wyvoid.core.tag;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
public class SecureTag extends TagSupport {
private String roles;
//final StripesSecurityManager securityManager = StripesSecurityFilter.getSecurityManager();
public SecureTag() {
... |
package com.wyvoid.core.tag;
import com.wyvoid.core.ip.IPUtil;
import java.util.Collection;
import java.util.Map;
import java.util.Date;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import org.apache.commons.lang.time.DateUtils;
import org.apache.commons.lang.StringUtils;
public ... |
package com.wyvoid.core.tag.pager;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.Map;
import java.util.Iterator;
import java.net.URLEncoder;
/**
* 分页标签
* User: cjp
* Date: 200... |
package com.wyvoid.core.tag;
public class TGCalendarDay {
private String styleId = null;
private String styleClass = null;
private StringBuffer lines = new StringBuffer() ;
private int day;
public String getLines() {
return lines.toString();
}
public void addLine(Str... |
package com.wyvoid.core.sitemesh;
import com.opensymphony.module.sitemesh.Decorator;
import com.opensymphony.module.sitemesh.Page;
import com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper;
import javax.servlet.http.HttpServletRequest;
/**
* @author Patrick Lightbody (plightbo at gmail dot com... |
package com.wyvoid.core.sitemesh;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* User: cjp
* Date: 2007-5-9
* Time: 15:40:24
*/
@Retention(RetentionPolicy.RUNTIME)
public @interface Partial {
}
|
package com.wyvoid.core.ip;
/**
* <p>51void.com</p>
* User:cjp
* Date: 2007-5-19
* Time: 9:07:45
*/
public class IPUtil {
static IPSeeker seeker = IPSeeker.getInstance();
public static String getAddress(String ip){
return seeker.getAddress(ip);
}
}
|
package com.wyvoid.core.ip; /**
* @author LJ-silver
*/
import java.util.*;
public class Test {
public static void main(String[] args) {
IPSeeker seeker = IPSeeker.getInstance();
if(args.length==2){
if("ip".equals(args[0])){
System.out.println(args[0]+"的所在地址是:"+seeker.getAddress(args[1]));
... |
package com.wyvoid.core.ip;/*
* LumaQQ - Java QQ Client
*
* Copyright (C) 2004 luma <stubma@163.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
... |
package com.wyvoid.core.ip;/*
* LumaQQ - Java QQ Client
*
* Copyright (C) 2004 luma <stubma@163.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
... |
package com.wyvoid.core.ip;/*
* Created on 2004-8-4
*
*/
import java.io.UnsupportedEncodingException;
/**
* @author LJ-silver
*/
public class Utils {
/**
* 从ip的字符串形式得到字节数组形式
* @param ip 字符串形式的ip
* @return 字节数组形式的ip
*/
public static byte[] getIpByteArrayFromString(Str... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for stringArray c... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for userSettingsA... |
package com.pmstation.shared.soap.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for fileUploadInfo complex type.
*
* <p>The following schema fragment specifies the expected content contained... |
package com.pmstation.shared.soap.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>Java class for dirHistoryDTO complex type.
*
* <p>The following schema fr... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for dirHistoryDTO... |
package com.pmstation.shared.soap.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for sharedFolderProperties complex type.
*
* <p>The following schema fragment specifies the expected content c... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for mp3InfoArray ... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for dirHistoryDTO... |
package com.pmstation.shared.soap.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for exifInfo complex type.
*
* <p>The following schema fragment specifies the expected content contained withi... |
package com.pmstation.shared.soap.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for faultBean complex type.
*
* <p>The following schema fragment specifies the expected content contained with... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for accountItemAr... |
package com.pmstation.shared.soap.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>Java class for accountItem complex type.
*
* <p>The following schema frag... |
package com.pmstation.shared.soap.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for mp3Info complex type.
*
* <p>The following schema fragment specifies the expected content contained within... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for sharedFolderP... |
@javax.xml.bind.annotation.XmlSchema(namespace = "http://api.soap.shared.pmstation.com/")
package com.pmstation.shared.soap.client;
|
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for exifInfoArray... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for settingsGroup... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for userSettings ... |
package com.pmstation.shared.soap.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
*... |
package com.pmstation.shared.soap.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for settingsGroup complex type.
*
* <p>The following schema fragment specifies the expected content contained ... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for userSetting c... |
package com.pmstation.shared.soap.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for longArray com... |
package com.pmstation.shared.soap.demo;
import com.pmstation.shared.soap.client.*;
import java.lang.reflect.Method;
/**
* Created by IntelliJ IDEA.
* User: tinedel
* Date: 3/9/11
* Time: 4:24 PM
*/
public class FolderSettingsDemo {
public static void main(String[] args) throws ApiException {
switch (args.... |
package com.pmstation.shared.soap.demo;
import com.pmstation.shared.soap.client.ApiException;
import com.pmstation.shared.soap.client.DesktopAppJax2;
import com.pmstation.shared.soap.client.DesktopAppJax2Service;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.http.HttpEntity;
import org.apache.h... |
package com.pmstation.shared.soap.demo;
import com.pmstation.shared.soap.client.DesktopAppJax2;
import com.pmstation.shared.soap.client.DesktopAppJax2Service;
/**
* Created by IntelliJ IDEA.
* User: tinedel
* Date: 9/14/11
* Time: 3:44 PM
*/
public class PreviewLinkDemo {
public static void main(String[] args)... |
package com.pmstation.shared.soap.demo;
import com.pmstation.shared.soap.client.AccountItem;
import com.pmstation.shared.soap.client.AccountItemArray;
import com.pmstation.shared.soap.client.DesktopAppJax2;
import com.pmstation.shared.soap.client.DesktopAppJax2Service;
/**
* Created by IntelliJ IDEA.
* User: tinede... |
package com.pmstation.shared.soap.demo;
import com.pmstation.shared.soap.client.AccountItem;
import com.pmstation.shared.soap.client.ApiException;
import com.pmstation.shared.soap.client.DesktopAppJax2;
import com.pmstation.shared.soap.client.DesktopAppJax2Service;
import java.io.BufferedOutputStream;
import java.io.... |
package com.pmstation.shared.soap.demo;
import com.pmstation.shared.soap.client.DesktopAppJax2;
import com.pmstation.shared.soap.client.DesktopAppJax2Service;
/**
* Created by IntelliJ IDEA.
* User: tinedel
* Date: 2/4/11
* Time: 2:25 PM
*/
public class SignupDemo {
/* actual work here */
private static voi... |
package com.pmstation.shared.soap.demo;
import com.pmstation.shared.soap.client.ApiException;
import com.pmstation.shared.soap.client.DesktopAppJax2;
import com.pmstation.shared.soap.client.DesktopAppJax2Service;
/**
* Created by IntelliJ IDEA.
* User: tinedel
* Date: 2/16/11
* Time: 2:03 PM
*/
public class Crea... |
package com.pmstation.shared.soap.demo;
import com.pmstation.shared.soap.client.*;
/**
* Created by IntelliJ IDEA.
* User: tinedel
* Date: 2/4/11
* Time: 3:31 PM
*/
public class BrowseFolderDemo {
/* actual work here*/
private static void browseFolder(String login, String password) {
DesktopAppJax2 da =... |
/**
*
*/
/**
* @author thinkpad
*
*/
package download.util; |
/*
* FeedbackService.java
*
* Created on 2010-6-25
*
* Copyright(C) 2010, by Ambow Develop & Research Branch.
*
* Original Author: liujia
* Contributor(s):
*
* Changes
* -------
* $Log$
*/
package com.tuan.service;
import java.util.List;
import com.tuan.domain.User;
public inte... |
/*
* FeedbackServiceImpl.java
*
* Created on 2010-6-25
*
* Copyright(C) 2010, by Ambow Develop & Research Branch.
*
* Original Author: liujia
* Contributor(s):
*
* Changes
* -------
* $Log$
*/
package com.tuan.service.impl;
import java.util.List;
import com.hunthawk.framework.Hibe... |
/*
* FeedbackServiceImpl.java
*
* Created on 2010-6-25
*
* Copyright(C) 2010, by Ambow Develop & Research Branch.
*
* Original Author: liujia
* Contributor(s):
*
* Changes
* -------
* $Log$
*/
package com.tuan.service.impl;
import java.util.List;
import com.hunthawk.framework.Hibe... |
/**
*
*/
package com.tuan.service.impl;
import com.tuan.domain.User;
import com.tuan.service.AuthenticationService;
import com.tuan.web.framework.AuthenticationException;
/**
* @author sunquanzhi
*
*/
public class AuthenticationServiceImpl implements AuthenticationService {
public User auth(St... |
/**
*
*/
package com.tuan.service.impl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import com.hunthawk.framework.HibernateGenericController;
import com.hunthawk.framework.hibernate.CompareExpression;
import com.hunthawk.framework.hibernate.CompareType;
import com.hu... |
/**
*
*/
package com.tuan.service;
import java.util.Collection;
import java.util.List;
import com.hunthawk.framework.hibernate.HibernateExpression;
import com.tuan.domain.Article;
import com.tuan.domain.SpliderItem;
/**
* @author sunquanzhi
*
*/
public interface SpliderService {
public Lis... |
package com.tuan.service;
import com.tuan.domain.User;
import com.tuan.web.framework.AuthenticationException;
public interface AuthenticationService {
public User auth(String username,String password)throws AuthenticationException;
public User getUser(String name);
}
|
/*
* FeedbackService.java
*
* Created on 2010-6-25
*
* Copyright(C) 2010, by Ambow Develop & Research Branch.
*
* Original Author: liujia
* Contributor(s):
*
* Changes
* -------
* $Log$
*/
package com.tuan.service;
import java.util.List;
import com.tuan.domain.Feedback;
public ... |
/**
*
*/
package com.tuan.splider;
import java.util.List;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import com.tuan.domain.Article;
imp... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lan... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lan... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lan... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lan... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
/**
*
*/
package com.tuan.splider.parser;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Date;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.time.DateUtils;
import com.hunthawk.reader.en... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.