Package | Description |
---|---|
org.zanata.client.commands.push | |
org.zanata.common | |
org.zanata.rest.client |
Modifier and Type | Method and Description |
---|---|
List<FileTypeInfo> |
RawPushCommand.fileTypeInfoList(FileResourceClient client)
Try to get the file types from the server (if server is new enough), otherwise use
compiled-in values (as older versions of the client did).
|
com.google.common.collect.ImmutableList<FileTypeInfo> |
RawPushCommand.getActualFileTypes(List<FileTypeInfo> serverFileTypes,
List<String> fileTypesSpec)
Return map of validated DocumentType to set of corresponding extensions, by applying the user's
file type options to the server's accepted file types.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<FileTypeInfo> |
RawPushCommand.getActualFileTypes(List<FileTypeInfo> serverFileTypes,
List<String> fileTypesSpec)
Return map of validated DocumentType to set of corresponding extensions, by applying the user's
file type options to the server's accepted file types.
|
Modifier and Type | Method and Description |
---|---|
FileTypeInfo |
DocumentType.toFileTypeInfo() |
FileTypeInfo |
FileTypeInfo.withExtensions(Map<String,String> extensions) |
Modifier and Type | Method and Description |
---|---|
List<FileTypeInfo> |
FileResourceClient.fileTypeInfoList() |
Copyright © 2018 Zanata Project. All rights reserved.