LocalModel

  • LocalModel describes a local model created from an absolute file path, asset file path, or URI.

  • It defines the model's location.

  • It has a nested Builder class to construct LocalModel instances.

public class LocalModel extends Object

Describes a local model created from absolute file path, asset file path or URI.

Defines the model's location (absolute file path in local directory, subpath in the app's asset directory, or URI representing a single file).

Nested Class Summary

class LocalModel.Builder Builder class of LocalModel .

Public Method Summary

boolean
equals (Object o)
Indicates whether some other object is "equal to" this one.
int
hashCode ()
Returns a hash code value for the object.

Inherited Method Summary

From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public boolean equals (Object o)

Indicates whether some other object is "equal to" this one.

public int hashCode ()

Returns a hash code value for the object.

public String toString ()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年10月31日 UTC.