StorageDomain.TextFile


public final class StorageDomain.TextFile extends StorageDomain


Targets local raw text files stored within internal app storage.

Summary

Public constructors

TextFile(@NonNull String path, @NonNull String content)

Public methods

boolean
equals(Object other)
final @NonNull String

The string content of the file.

final @NonNull String

The relative path of the file inside the app sandbox (e.g. "files/my_data.txt").

int
@NonNull String

Public constructors

TextFile

Added in 1.0.0-alpha01
public TextFile(@NonNull String path, @NonNull String content)

Public methods

equals

public boolean equals(Object other)

getContent

Added in 1.0.0-alpha01
public final @NonNull String getContent()

The string content of the file.

getPath

Added in 1.0.0-alpha01
public final @NonNull String getPath()

The relative path of the file inside the app sandbox (e.g. "files/my_data.txt").

hashCode

public int hashCode()

toString

public @NonNull String toString()