- getAllMessages() - Static method in class org.gytheio.util.I18NUtil
-
- getAllMessages(Locale) - Static method in class org.gytheio.util.I18NUtil
-
- getAllTokens() - Method in class org.gytheio.util.exec.ExecParameterTokenizer
-
This method returns the tokens in a parameter string.
- getApplicationLongLifeFileDir() - Static method in class org.gytheio.content.file.TempFileProvider
-
Gets the longer life file directory
- getApplicationTempFileDir() - Static method in class org.gytheio.content.file.TempFileProvider
-
Gets the temp file directory
- getBuffer() - Method in class org.gytheio.util.exec.RuntimeExec.InputStreamReaderThread
-
- getCommand() - Method in class org.gytheio.util.exec.RuntimeExec
-
- getCommand(Map<String, String>) - Method in class org.gytheio.util.exec.RuntimeExec
-
Get the command that will be executed post substitution.
- getContentLocale() - Static method in class org.gytheio.util.I18NUtil
-
Get the content local for the current thread.
This will revert to
I18NUtil.getLocale() if no value has been defined.
- getContentLocaleLang() - Static method in class org.gytheio.util.I18NUtil
-
Get the content local language only (ignore the country and variant) for the current thread.
This will revert to
I18NUtil.getLocale() if no value has been defined.
- getContentLocaleOrNull() - Static method in class org.gytheio.util.I18NUtil
-
Get the content local for the current thread.
This will revert null if no value has been defined.
- getContentReference() - Method in class org.gytheio.content.ContentWorkResult
-
Gets the content reference associated with the result.
- getDetails() - Method in class org.gytheio.content.ContentWorkResult
-
Gets the additional details of the result of the content work.
- getDirectory() - Method in class org.gytheio.content.file.FileProviderImpl
-
Get the dir.
- getExitValue() - Method in class org.gytheio.util.exec.RuntimeExec.ExecutionResult
-
- getExtension(String) - Method in class org.gytheio.content.handler.AbstractUrlContentReferenceHandler
-
Gets the extension from the remote URL string
- getExtension() - Method in enum org.gytheio.content.mediatype.FileMediaType
-
- getExtension(String) - Method in interface org.gytheio.content.mediatype.FileMediaTypeService
-
Get the extension for the specified internet media type
- getExtension(String) - Method in class org.gytheio.content.mediatype.FileMediaTypeServiceImpl
-
- getFile(ContentReference, boolean) - Method in interface org.gytheio.content.handler.FileContentReferenceHandler
-
Gets a File object for the given content reference, optionally waiting for the
file to be available and match the expected file size.
- getFile(ContentReference, boolean) - Method in class org.gytheio.content.handler.FileContentReferenceHandlerImpl
-
- getFirst() - Method in class org.gytheio.util.Pair
-
Get the first member of the tuple.
- getInputStream(ContentReference, boolean) - Method in interface org.gytheio.content.handler.ContentReferenceHandler
-
Gets an input stream for the given content reference
- getInputStream(ContentReference, boolean) - Method in class org.gytheio.content.handler.FileContentReferenceHandlerImpl
-
- getLocale() - Static method in class org.gytheio.util.I18NUtil
-
Get the general local for the current thread, will revert to the default locale if none
specified for this thread.
- getLocaleOrNull() - Static method in class org.gytheio.util.I18NUtil
-
Get the general local for the current thread.
This will revert null if no value has been defined.
- getLongLifeTempDir(String) - Static method in class org.gytheio.content.file.TempFileProvider
-
creates a longer living temp dir.
- getMapComparison(Map<K, V>, Map<K, V>) - Static method in class org.gytheio.util.EqualsHelper
-
Compare two maps.
- getMapDifferenceReport(Map<?, ?>, Map<?, ?>) - Static method in class org.gytheio.util.EqualsHelper
-
Compare two maps and generate a difference report between the actual and expected values.
- getMediaType() - Method in class org.gytheio.content.ContentReference
-
Gets the media type (mimetype) of the content reference
- getMediaType() - Method in enum org.gytheio.content.mediatype.FileMediaType
-
Gets the media type string, i.e.
- getMediaType(String) - Method in interface org.gytheio.content.mediatype.FileMediaTypeService
-
Get the internet media type for the specified extension
- getMediaType(String) - Method in class org.gytheio.content.mediatype.FileMediaTypeServiceImpl
-
- getMediaTypeByName(File) - Method in interface org.gytheio.content.mediatype.FileMediaTypeService
-
Get the internet media type for the specified file using only its
file name, no inspection
- getMediaTypeByName(File) - Method in class org.gytheio.content.mediatype.FileMediaTypeServiceImpl
-
- getMessage(String) - Static method in class org.gytheio.util.I18NUtil
-
Get message from registered resource bundle.
- getMessage(String, Locale) - Static method in class org.gytheio.util.I18NUtil
-
Get a localised message string
- getMessage(String, Object...) - Static method in class org.gytheio.util.I18NUtil
-
Get a localised message string, parameterized using standard MessageFormatter.
- getMessage(String, Locale, Object...) - Static method in class org.gytheio.util.I18NUtil
-
Get a localised message string, parameterized using standard MessageFormatter.
- getMsgId() - Method in exception org.gytheio.error.GytheioRuntimeException
-
- getMsgParams() - Method in exception org.gytheio.error.GytheioRuntimeException
-
- getNearestLocale(Locale, Set<Locale>) - Static method in class org.gytheio.util.I18NUtil
-
Searches for the nearest locale from the available options.
- getProperties() - Method in class org.gytheio.content.AbstractContentWorker
-
- getRelativePath(String) - Method in class org.gytheio.content.handler.AbstractUrlContentReferenceHandler
-
Gets the relative path from the remote URL string
- getRemoteBaseUrl() - Method in class org.gytheio.content.handler.AbstractUrlContentReferenceHandler
-
Gets the remote base URL string for the handler.
- getRemoteFileUrl(ContentReference) - Method in class org.gytheio.content.handler.AbstractUrlContentReferenceHandler
-
Gets the remote URL string from the given content reference.
- getRemotePath(String) - Method in class org.gytheio.content.handler.AbstractUrlContentReferenceHandler
-
Builds the remote path for the given remote file name.
- getRootCause() - Method in exception org.gytheio.error.GytheioRuntimeException
-
Get the root cause.
- getSecond() - Method in class org.gytheio.util.Pair
-
Get the second member of the tuple.
- getSingleResultDetailValue(String, ContentReference, List<ContentWorkResult>) - Static method in class org.gytheio.content.util.ContentUtil
-
Convenience method for getting a specific result detail value for a
given content reference.
- getSize() - Method in class org.gytheio.content.ContentReference
-
Gets the size of the content binary if available
- getStdErr() - Method in class org.gytheio.util.exec.RuntimeExec.ExecutionResult
-
- getStdOut() - Method in class org.gytheio.util.exec.RuntimeExec.ExecutionResult
-
- getSuccess() - Method in class org.gytheio.util.exec.RuntimeExec.ExecutionResult
-
- getSystemTempDir() - Static method in class org.gytheio.content.file.TempFileProvider
-
Get the Java Temp dir e.g.
- getTempDir() - Static method in class org.gytheio.content.file.TempFileProvider
-
Get the Gytheio temp dir, by defaut %java.io.tempdir%/Gytheio.
- getTempDir(String) - Static method in class org.gytheio.content.file.TempFileProvider
-
Get the specified temp dir, %java.io.tempdir%/dirName.
- getTikaMimeType() - Method in enum org.gytheio.content.mediatype.FileMediaType
-
Gets the underlying Tika MimeType based on the FileMediaType's mediaType string
- getTikaMimeType(String) - Method in class org.gytheio.content.mediatype.FileMediaTypeServiceImpl
-
- getTokens() - Method in class org.gytheio.util.exec.ExecParameterTokenizer.QuotedSubstring
-
- getTokens() - Method in interface org.gytheio.util.exec.ExecParameterTokenizer.Substring
-
Gets all the tokens in a parameter string.
- getTokens() - Method in class org.gytheio.util.exec.ExecParameterTokenizer.UnquotedSubstring
-
- getUri() - Method in class org.gytheio.content.ContentReference
-
Gets the URI for the content reference
- getVersionDetailsString() - Method in class org.gytheio.content.AbstractContentWorker
-
- getVersionDetailsString() - Method in interface org.gytheio.content.ContentWorker
-
Gets a string returning detailed version information such as JVM
or command line application's version output
- getVersionString() - Method in class org.gytheio.content.AbstractContentWorker
-
- getVersionString() - Method in interface org.gytheio.content.ContentWorker
-
Gets a string returning name and version information.
- GytheioRuntimeException - Exception in org.gytheio.error
-
I18n'ed runtime exception thrown by Alfresco code.
- GytheioRuntimeException(String) - Constructor for exception org.gytheio.error.GytheioRuntimeException
-
Constructor
- GytheioRuntimeException(String, Object[]) - Constructor for exception org.gytheio.error.GytheioRuntimeException
-
Constructor
- GytheioRuntimeException(String, Throwable) - Constructor for exception org.gytheio.error.GytheioRuntimeException
-
Constructor
- GytheioRuntimeException(String, Object[], Throwable) - Constructor for exception org.gytheio.error.GytheioRuntimeException
-
Constructor
- SERVICE - Static variable in enum org.gytheio.content.mediatype.FileMediaType
-
- setCharset(String) - Method in class org.gytheio.util.exec.RuntimeExec
-
Sets the assumed charset of OUT and ERR streams generated by the executed command.
- setCommand(String[]) - Method in class org.gytheio.util.exec.RuntimeExec
-
Set the command to execute regardless of operating system
- setCommandMap(Map<String, String>) - Method in class org.gytheio.util.exec.RuntimeExec
-
- setCommandsAndArguments(Map<String, String[]>) - Method in class org.gytheio.util.exec.RuntimeExec
-
Supply a choice of commands to execute based on a mapping from the os.name system
property to the command to execute.
- setContentLocale(Locale) - Static method in class org.gytheio.util.I18NUtil
-
Set the content locale for the current thread.
- setContentReference(ContentReference) - Method in class org.gytheio.content.ContentWorkResult
-
Sets the content reference associated with the result.
- setCreateDirectory(boolean) - Method in class org.gytheio.content.file.FileProviderImpl
-
- setDefaultInputStreamReaderThreadFactory(RuntimeExec.InputStreamReaderThreadFactory) - Method in class org.gytheio.util.exec.RuntimeExec
-
- setDefaultProperties(Map<String, String>) - Method in class org.gytheio.util.exec.RuntimeExec
-
Set the default command-line properties to use when executing the command.
- setDetails(Map<String, Object>) - Method in class org.gytheio.content.ContentWorkResult
-
Sets the additional details of the result of the content work.
- setDirectoryPath(String) - Method in class org.gytheio.content.file.FileProviderImpl
-
- setErrorCodes(String) - Method in class org.gytheio.util.exec.RuntimeExec
-
A comma or space separated list of values that, if returned by the executed command,
indicate an error value.
- setFileProvider(FileProvider) - Method in class org.gytheio.content.handler.FileContentReferenceHandlerImpl
-
- setFileProviderDirectoryPath(String) - Method in class org.gytheio.content.handler.FileContentReferenceHandlerImpl
-
- setFirst(F) - Method in class org.gytheio.util.Pair
-
- setIsAvailable(boolean) - Method in class org.gytheio.content.AbstractContentWorker
-
- setLocale(Locale) - Static method in class org.gytheio.util.I18NUtil
-
Set the locale for the current thread.
- setMediaType(String) - Method in class org.gytheio.content.ContentReference
-
Sets the media type (mimetype) of the content reference
- setProcessDirectory(String) - Method in class org.gytheio.util.exec.RuntimeExec
-
Set the runtime location from which the command is executed.
- setProcessProperties(Map<String, String>) - Method in class org.gytheio.util.exec.RuntimeExec
-
Set additional runtime properties (environment properties) that will used
by the executing process.
- setProcessProperty(String, String) - Method in class org.gytheio.util.exec.RuntimeExec
-
Adds a property to existed processProperties.
- setSecond(S) - Method in class org.gytheio.util.Pair
-
- setSize(Long) - Method in class org.gytheio.content.ContentReference
-
Sets the size of the content binary
- setSourceContentReferenceHandler(ContentReferenceHandler) - Method in class org.gytheio.content.AbstractContentWorker
-
Sets the content reference handler to be used for retrieving
the source content to be worked on.
- setTransferCheckPeriodMs(long) - Method in class org.gytheio.content.handler.FileContentReferenceHandlerImpl
-
Sets the interval to check for transfer
- setTransferCheckTimeoutMs(long) - Method in class org.gytheio.content.handler.FileContentReferenceHandlerImpl
-
Sets the transfer check timeout
- setUri(String) - Method in class org.gytheio.content.ContentReference
-
Sets the URI for the content reference
- setWaitForCompletion(boolean) - Method in class org.gytheio.util.exec.RuntimeExec
-
Set whether to wait for completion of the command or not.
- sourceContentReferenceHandler - Variable in class org.gytheio.content.AbstractContentWorker
-
- StableApi - Annotation Type in org.gytheio.api
-
This annotation is used to denote a class or method as part
of the set of stable, unchanging elements.
- SYSTEM_KEY_TEMP_DIR - Static variable in class org.gytheio.content.file.TempFileProvider
-
the system property key giving us the location of the temp directory