Package org.eclipse.ecf.internal.provider.phpbb.identity

Examples of org.eclipse.ecf.internal.provider.phpbb.identity.ThreadID


public class ThreadFactory implements IBBObjectFactory {
  public ID createBBObjectId(Namespace namespace, String stringValue)
      throws IDCreateException {
    try {
      return new ThreadID((PHPBBNamespace) namespace,
          new URI(stringValue));
    } catch (URISyntaxException e) {
      throw new IDCreateException(e);
    }
  }
View Full Code Here


  }

  public ID createBBObjectId(Namespace namespace, URL baseURL,
      String longValue) throws IDCreateException {
    try {
      return new ThreadID((PHPBBNamespace) namespace, baseURL, Long
          .parseLong(longValue));
    } catch (URISyntaxException e) {
      throw new IDCreateException(e);
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.internal.provider.phpbb.identity.ThreadID

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.