public class ContentsEntry extends Object
48217870-MIT.pdf\tbundle: bundlename\tpermissions: -r 'MIT Users'\tdescription: Full printable version (MIT only)
permissions: -[r|w] ['group name']
description: <the description of the file>
| Modifier and Type | Field and Description |
|---|---|
static String |
HDR_BUNDLE |
static String |
HDR_DESCRIPTION |
static String |
HDR_PERMISSIONS |
static Pattern |
permissionsPattern |
| Modifier | Constructor and Description |
|---|---|
protected |
ContentsEntry(String filename,
String bundlename,
int permissionsActionId,
String permissionsGroupName,
String description) |
| Modifier and Type | Method and Description |
|---|---|
static ContentsEntry |
parse(String line)
Factory method parses a line from the Contents Entry file
|
String |
toString() |
public static final String HDR_BUNDLE
public static final String HDR_PERMISSIONS
public static final String HDR_DESCRIPTION
public static final Pattern permissionsPattern
public static ContentsEntry parse(String line) throws ParseException
line - line as stringParseException - if parse errorCopyright © 2016 DuraSpace. All rights reserved.