public class GCTFile
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
bytes |
java.lang.String |
path |
Constructor and Description |
---|
GCTFile() |
GCTFile(GCTFile o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this GCTFile.
|
static GCTFile |
fromString(java.lang.String s)
String representation of this GCTFile.
|
java.lang.String |
getBytes() |
java.lang.String |
getPath()
Relative to the version root
|
GCTFile |
makeCopy()
Creates and returns a deep copy of this GCTFile.
|
static GCTFile |
readFrom(java.io.InputStream is)
Read this GCTFile from an XML fragment.
|
void |
setBytes(java.lang.String value) |
void |
setPath(java.lang.String path)
Relative to the version root
|
java.lang.String |
toString()
String representation of this GCTFile.
|
GCTFile |
withBytes(java.lang.String value) |
GCTFile |
withPath(java.lang.String path) |
void |
writeTo(java.io.OutputStream os)
Write this GCTFile as an XML fragment
|
public GCTFile()
public GCTFile(GCTFile o)
public java.lang.String getBytes()
public void setBytes(java.lang.String value)
public GCTFile withBytes(java.lang.String value)
public void setPath(java.lang.String path)
public java.lang.String getPath()
public GCTFile withPath(java.lang.String path)
public GCTFile makeCopy()
public static GCTFile readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static GCTFile fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.