类 FileContent
java.lang.Object
io.github.a2ap.core.model.FileContent
- 直接已知子类:
FileWithBytes,FileWithUri
Represents the content of a file.
-
构造器概要
构造器构造器说明Default constructor.FileContent(String name, String mimeType) Constructor with name and MIME type. -
方法概要
-
构造器详细资料
-
FileContent
public FileContent()Default constructor. -
FileContent
Constructor with name and MIME type.- 参数:
name- the file namemimeType- the MIME type
-
-
方法详细资料
-
getName
Gets the file name.- 返回:
- the file name
-
setName
Sets the file name.- 参数:
name- the file name to set
-
getMimeType
Gets the MIME type.- 返回:
- the MIME type
-
setMimeType
Sets the MIME type.- 参数:
mimeType- the MIME type to set
-
equals
-
hashCode
public int hashCode() -
toString
-