public class GCResourceGroup extends Object
Holds a group of resource names (those displayed in the same GCDocument).
This class was refactored from "URLSet".
created on: 05.03.2014
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_SEPARATOR |
static String |
SERIES_SEPARATOR |
| Constructor and Description |
|---|
GCResourceGroup(List<GCResource> gcResourceList) |
GCResourceGroup(String resourceNameGroup)
Initialise a group from a single string consisting of
GcResourceFiles separated by "";""
and contents of a GcResourceSeries separated by ">". |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<GCResource> |
getGCResourceList()
Get all resources names as an array of strings.
|
String |
getGroupStringShort()
Get short version of resource names.
If more than one resource is in this group, returns only file name without path. |
String |
getUrlGroupString()
Get all resource names of the group formatted as URLs separated by a ";"
|
int |
hashCode() |
String |
toString() |
public static final String RESOURCE_SEPARATOR
public static final String SERIES_SEPARATOR
public GCResourceGroup(List<GCResource> gcResourceList)
public GCResourceGroup(String resourceNameGroup)
GcResourceFiles separated by "";""
and contents of a GcResourceSeries separated by ">".resourceNameGroup - resource names separated by ";"public List<GCResource> getGCResourceList()
public String getUrlGroupString()
public String getGroupStringShort()
GcResourceSeries are abbreviated by showing the name of the first file and how many files are following.Copyright © 2019. All rights reserved.