类 FileWithUri
java.lang.Object
io.github.a2ap.core.model.FileContent
io.github.a2ap.core.model.FileWithUri
file url content
-
嵌套类概要
嵌套类 -
构造器概要
构造器构造器说明Default constructor.FileWithUri(String uri) Constructor with URI.FileWithUri(String name, String mimeType, String uri) Constructor with name, MIME type, and URI. -
方法概要
从类继承的方法 io.github.a2ap.core.model.FileContent
getMimeType, getName, setMimeType, setName
-
构造器详细资料
-
FileWithUri
public FileWithUri()Default constructor. -
FileWithUri
Constructor with URI.- 参数:
uri- the file URI
-
FileWithUri
Constructor with name, MIME type, and URI.- 参数:
name- the file namemimeType- the MIME typeuri- the file URI
-
-
方法详细资料
-
getUri
Gets the URI of the file.- 返回:
- the URI
-
setUri
Sets the URI of the file.- 参数:
uri- the URI to set
-
equals
- 覆盖:
equals在类中FileContent
-
hashCode
public int hashCode()- 覆盖:
hashCode在类中FileContent
-
toString
- 覆盖:
toString在类中FileContent
-
builder
Returns a builder for FileWithUri.- 返回:
- a new builder instance
-