|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.anidb.udp.UdpGroupFactory
public class UdpGroupFactory
A factory for Group objects.
| Method Summary | |
|---|---|
Group |
getGroup(long groupId)
Returns the group with the given group Id. |
Group |
getGroup(java.lang.String groupName)
Returns the group with the given group name or short name. |
static UdpGroupFactory |
getInstance(UdpConnection conn)
Returns an instance of this class. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static UdpGroupFactory getInstance(UdpConnection conn)
conn - The connection.
java.lang.IllegalArgumentException - If the connection is null.
public Group getGroup(long groupId)
throws UdpConnectionException,
AniDbException
groupId - The group Id.
UdpConnectionException - If a connection problem occured.
AniDbException - If a problem with AniDB occured.UdpReturnCodes.NO_SUCH_GROUP
public Group getGroup(java.lang.String groupName)
throws UdpConnectionException,
AniDbException
groupName - The group name or short name.
java.lang.IllegalArgumentException - If the group name is null.
UdpConnectionException - If a connection problem occured.
AniDbException - If a problem with AniDB occured.UdpReturnCodes.NO_SUCH_GROUP
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||