01: /**
02: * $Id: CommunityContainerName.java,v 1.3 2006/04/27 23:12:50 jtb Exp $
03: * Copyright 2005 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.community;
14:
15: import java.util.Properties;
16: import java.io.FileNotFoundException;
17: import java.io.IOException;
18: import com.sun.portal.util.ResourceLoader;
19:
20: import com.sun.portal.community.CommunityId;
21:
22: /**
23: * A community channel container name.
24: */
25: public class CommunityContainerName {
26: public static final String CONTAINER_SUFFIX = "_Container";
27:
28: private String name;
29:
30: public CommunityContainerName(CommunityId cid) {
31: name = cid.toString() + CONTAINER_SUFFIX;
32: }
33:
34: public String toString() {
35: return name;
36: }
37:
38: }
|