public final class PersistentBundleInfoBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
static PersistentBundle |
build(org.springframework.core.io.Resource resource)
Parses the supplied resource and builds the information for the bundle.
|
static PersistentBundle |
build(org.springframework.core.io.Resource resource,
boolean calculateChecksum,
boolean checkTransformationRequired)
Parses the supplied resource and builds the information for the bundle.
|
public static PersistentBundle build(org.springframework.core.io.Resource resource) throws IOException
resource - The bundle resourceIOException - In case of resource read errorspublic static PersistentBundle build(org.springframework.core.io.Resource resource, boolean calculateChecksum, boolean checkTransformationRequired) throws IOException
resource - The bundle resourcecalculateChecksum - should we calculate the resource checksum?checkTransformationRequired - should we check if the module dependency capability headers has to be addedIOException - In case of resource read errorsCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.