In package com.eden.orchid.api.theme.pages

@Getter,
@Setter
public final class OrchidReference extends Object

public final

Fields

OrchidContext context final

Constructors

OrchidReference(OrchidContext context, String fullFileName, boolean shouldParse) public

Parameters:
OrchidReference(OrchidContext context, String fullFileName) public

Parameters:
OrchidReference(OrchidReference source) public

Parameters:

Methods

void stripFromPath(String pathToStrip) public

Parameters:
  • String pathToStrip
void replacePathSegment(int segmentIndex, String replacement) public

Parameters:
  • segmentIndex
  • String replacement
void removePathSegment(int segmentIndex) public

Parameters:
  • segmentIndex
String getOriginalPath() public

String getOriginalFullFileName() public

String getOriginalPathSegment(int segmentIndex) public

Parameters:
  • segmentIndex
String getPath() public

String getPathSegment(int segmentIndex) public

Parameters:
  • segmentIndex
String getPathSegments() public

String getOriginalPathSegments() public

String getOriginalFileName() public

String getFileName() public

String getOutputExtension() public

String getTitle() public

String getServerPath() public

String getRelativePath() public

String toString() public
Method Annotations:
@Override

OrchidContext getContext() public

JSONObject toJSON() public

OrchidReference fromJSON(OrchidContext context, JSONObject source) static public

Parameters:
OrchidReference fromUrl(OrchidContext context, String title, String url) static public

Parameters: