|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.anidb.udp.UdpCreatorFactory
public class UdpCreatorFactory
A factory for Creator
objects.
Method Summary | |
---|---|
Creator |
getCreator(long creatorId)
Returns the creator with the given creator Id. |
static UdpCreatorFactory |
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 UdpCreatorFactory getInstance(UdpConnection conn)
conn
- The connection.
java.lang.IllegalArgumentException
- If the connection is null
.public Creator getCreator(long creatorId) throws UdpConnectionException, AniDbException
creatorId
- The creator Id.
UdpConnectionException
- If a connection problem occured.
AniDbException
- If a problem with AniDB occured.UdpReturnCodes.NO_SUCH_CREATOR
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |