Package org.apache.maven.buildcache.xml
Class XmlService
- java.lang.Object
-
- org.apache.maven.buildcache.xml.XmlService
-
@Singleton @Named public class XmlService extends Object
XmlService
-
-
Constructor Summary
Constructors Constructor Description XmlService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Build
loadBuild(byte[] bytes)
Build
loadBuild(File file)
Build
loadBuild(InputStream inputStream)
CacheConfig
loadCacheConfig(byte[] bytes)
CacheConfig
loadCacheConfig(File file)
CacheConfig
loadCacheConfig(InputStream inputStream)
CacheReport
loadCacheReport(byte[] bytes)
CacheReport
loadCacheReport(File file)
CacheReport
loadCacheReport(InputStream inputStream)
Diff
loadDiff(byte[] bytes)
Diff
loadDiff(File file)
Diff
loadDiff(InputStream inputStream)
byte[]
toBytes(Build build)
byte[]
toBytes(CacheConfig cache)
byte[]
toBytes(Diff diff)
byte[]
toBytes(CacheReport cacheReportType)
-
-
-
Method Detail
-
toBytes
public byte[] toBytes(CacheConfig cache) throws IOException
- Throws:
IOException
-
toBytes
public byte[] toBytes(Build build) throws IOException
- Throws:
IOException
-
toBytes
public byte[] toBytes(Diff diff) throws IOException
- Throws:
IOException
-
toBytes
public byte[] toBytes(CacheReport cacheReportType) throws IOException
- Throws:
IOException
-
loadBuild
public Build loadBuild(File file) throws IOException
- Throws:
IOException
-
loadBuild
public Build loadBuild(byte[] bytes)
-
loadBuild
public Build loadBuild(InputStream inputStream)
-
loadCacheConfig
public CacheConfig loadCacheConfig(File file) throws IOException
- Throws:
IOException
-
loadCacheConfig
public CacheConfig loadCacheConfig(byte[] bytes)
-
loadCacheConfig
public CacheConfig loadCacheConfig(InputStream inputStream)
-
loadCacheReport
public CacheReport loadCacheReport(File file) throws IOException
- Throws:
IOException
-
loadCacheReport
public CacheReport loadCacheReport(byte[] bytes)
-
loadCacheReport
public CacheReport loadCacheReport(InputStream inputStream)
-
loadDiff
public Diff loadDiff(File file) throws IOException
- Throws:
IOException
-
loadDiff
public Diff loadDiff(byte[] bytes)
-
loadDiff
public Diff loadDiff(InputStream inputStream)
-
-