Package google.registry.model.rde
Class RdeNamingUtils
java.lang.Object
google.registry.model.rde.RdeNamingUtils
Utility class for generating RDE filenames and string IDs.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
makePartialName
(String tld, org.joda.time.DateTime date, RdeMode mode) Returns same thing asmakeRydeFilename(java.lang.String, org.joda.time.DateTime, google.registry.model.rde.RdeMode, int, int)
except without the series and revision.static String
makeRydeFilename
(String tld, org.joda.time.DateTime date, RdeMode mode, int series, int revision) Returns extensionless RDE filename in format<gTLD>_<YYYY-MM-DD>_<type>_S<#>_R<rev>
.
-
Method Details
-
makeRydeFilename
public static String makeRydeFilename(String tld, org.joda.time.DateTime date, RdeMode mode, int series, int revision) Returns extensionless RDE filename in format<gTLD>_<YYYY-MM-DD>_<type>_S<#>_R<rev>
.This naming scheme is defined in the
gTLD_Applicant_Guidebook_full.pdf
. -
makePartialName
Returns same thing asmakeRydeFilename(java.lang.String, org.joda.time.DateTime, google.registry.model.rde.RdeMode, int, int)
except without the series and revision.
-