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 BuildloadBuild(byte[] bytes)BuildloadBuild(File file)BuildloadBuild(InputStream inputStream)CacheConfigloadCacheConfig(byte[] bytes)CacheConfigloadCacheConfig(File file)CacheConfigloadCacheConfig(InputStream inputStream)CacheReportloadCacheReport(byte[] bytes)CacheReportloadCacheReport(File file)CacheReportloadCacheReport(InputStream inputStream)DiffloadDiff(byte[] bytes)DiffloadDiff(File file)DiffloadDiff(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)
-
-