public class

SimpleFile

extends File
java.lang.Object
   ↳ com.atlassian.bitbucket.content.File
     ↳ com.atlassian.bitbucket.content.SimpleFile

Summary

Nested Classes
class SimpleFile.Builder  
Public Constructors
@Deprecated SimpleFile(Path path, String contentId)
This constructor is deprecated. in 4.2 for removal in 5.0. Use build() to construct instances.
Public Methods
boolean equals(Object o)
String getContentId()
@Nonnull Path getPath()
@Nonnull OptionalLong getSize()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.content.File
From class java.lang.Object
From interface com.atlassian.bitbucket.content.ContentTreeNode

Public Constructors

@Deprecated public SimpleFile (Path path, String contentId)

This constructor is deprecated.
in 4.2 for removal in 5.0. Use build() to construct instances.

Parameters
path the file's path
contentId the file's optional content ID

Public Methods

public boolean equals (Object o)

public String getContentId ()

@Nonnull public Path getPath ()

@Nonnull public OptionalLong getSize ()

public int hashCode ()

public String toString ()