public class InMemoryResource
extends org.springframework.core.io.AbstractResource
Resource| 构造器和说明 |
|---|
InMemoryResource(byte[] source) |
InMemoryResource(byte[] source,
String description) |
InMemoryResource(String source) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object res) |
String |
getDescription() |
InputStream |
getInputStream() |
int |
hashCode() |
public InMemoryResource(String source)
public InMemoryResource(byte[] source)
public InMemoryResource(byte[] source,
@Nullable
String description)
@Nullable public String getDescription()
public InputStream getInputStream()
public boolean equals(Object res)
equals 在类中 org.springframework.core.io.AbstractResourcepublic int hashCode()
hashCode 在类中 org.springframework.core.io.AbstractResourceCopyright © 2022. All rights reserved.